Update submodules & fixed some typos

This commit is contained in:
Max 2023-05-09 19:57:54 +02:00
parent cc28ebf6ac
commit 8993744907
3 changed files with 3 additions and 6 deletions

View File

@ -9,7 +9,7 @@ namespace WebSharpRSS
{
public static class Bootstrapper
{
public static void SetContainerDefaults(this DataContainer dataCon)
public static void SetAppDefaultSettings(this DataContainer dataCon)
{
dataCon.Set("FaviconResolveUrl", "https://icons.duckduckgo.com/ip3/{0}.ico");
dataCon.Set("LogPath", Path.Combine(Environment.CurrentDirectory, "logs", "log_.json"));

View File

@ -8,8 +8,9 @@ using SharpRss;
using ToolQit;
using WebSharpRSS;
Caretaker.Settings.SetContainerDefaults();
Caretaker.Settings.SetAppDefaultSettings();
Bootstrapper.SetupLogging();
Log.Information("Starting app....");
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRazorPages();

View File

@ -1,4 +0,0 @@
{
"FaviconResolveUrl": "https://icons.duckduckgo.com/ip3/{0}.ico",
"LogPath": "/home/max/GitHub/SharpRSS/WebSharpRSS/logs/log_.json"
}