diff --git a/Services/GeneratorService.cs b/Services/GeneratorService.cs
index 7118d68..d6d0ceb 100644
--- a/Services/GeneratorService.cs
+++ b/Services/GeneratorService.cs
@@ -36,8 +36,8 @@ public static string GeneratePassphrase(PassphraseOptions passphraseOptions)
{
string password = "";
- string[] standardWords = File.ReadAllLines(@"./Data/StandardWords.txt");
- string[] offensiveWords = File.ReadAllLines(@"./Data/OffensiveWords.txt");
+ string[] standardWords = File.ReadAllLines("./wwwroot/Data/StandardWords.txt");
+ string[] offensiveWords = File.ReadAllLines("./wwwroot/Data/OffensiveWords.txt");
string[] seedWords = [];
if (passphraseOptions.DictionaryType == "Standard")
diff --git a/appsettings.json b/appsettings.json
index 8d00c09..ec04bc1 100644
--- a/appsettings.json
+++ b/appsettings.json
@@ -1,21 +1,9 @@
-//{
-// "Logging": {
-// "LogLevel": {
-// "Default": "Information",
-// "Microsoft.AspNetCore": "Warning"
-// }
-// },
-// "AllowedHosts": "*"
-//}
-
{
- "DetailedErrors": true, // turns on CircuitOptions.DetailedErrors
"Logging": {
"LogLevel": {
"Default": "Information",
- "Microsoft": "Warning",
- "Microsoft.Hosting.Lifetime": "Information",
- "Microsoft.AspNetCore.SignalR": "Debug" // turns on SignalR debugging
+ "Microsoft.AspNetCore": "Warning"
}
- }
+ },
+ "AllowedHosts": "*"
}
\ No newline at end of file
diff --git a/passgen.csproj b/passgen.csproj
index d6b3dd5..40e28c0 100644
--- a/passgen.csproj
+++ b/passgen.csproj
@@ -8,6 +8,11 @@
.
+
+
+
+
+
diff --git a/Data/OffensiveWords.txt b/wwwroot/Data/OffensiveWords.txt
similarity index 100%
rename from Data/OffensiveWords.txt
rename to wwwroot/Data/OffensiveWords.txt
diff --git a/Data/StandardWords.txt b/wwwroot/Data/StandardWords.txt
similarity index 100%
rename from Data/StandardWords.txt
rename to wwwroot/Data/StandardWords.txt