Skip to content

Commit e14121c

Browse files
feat: moving config file
1 parent 552b653 commit e14121c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/SiteMonitor/Models/Configuration.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using System.IO;
2-
using System.Reflection;
1+
using System;
2+
using System.IO;
33

44
using Newtonsoft.Json;
55

@@ -10,7 +10,8 @@ namespace SiteMonitor.Models;
1010
/// </summary>
1111
public class Configuration {
1212
private static readonly string S_CONFIG_LOCATION =
13-
Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly()?.Location) ?? string.Empty, "config.json");
13+
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "nullinside",
14+
"site-monitor", "config.json");
1415

1516
private static Configuration? s_instance;
1617

0 commit comments

Comments
 (0)