diff --git a/WebSharpRSS/Bootstrapper.cs b/WebSharpRSS/Bootstrapper.cs index 96fb437..a858c3d 100644 --- a/WebSharpRSS/Bootstrapper.cs +++ b/WebSharpRSS/Bootstrapper.cs @@ -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")); diff --git a/WebSharpRSS/Program.cs b/WebSharpRSS/Program.cs index 6250cfe..9215ffd 100644 --- a/WebSharpRSS/Program.cs +++ b/WebSharpRSS/Program.cs @@ -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(); diff --git a/WebSharpRSS/defaults.json b/WebSharpRSS/defaults.json deleted file mode 100644 index 11c0578..0000000 --- a/WebSharpRSS/defaults.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "FaviconResolveUrl": "https://icons.duckduckgo.com/ip3/{0}.ico", - "LogPath": "/home/max/GitHub/SharpRSS/WebSharpRSS/logs/log_.json" -} \ No newline at end of file