summaryrefslogtreecommitdiff
path: root/wwwroot
diff options
context:
space:
mode:
Diffstat (limited to 'wwwroot')
-rw-r--r--wwwroot/appsettings.Development.json19
-rw-r--r--wwwroot/appsettings.json12
2 files changed, 31 insertions, 0 deletions
diff --git a/wwwroot/appsettings.Development.json b/wwwroot/appsettings.Development.json
new file mode 100644
index 0000000..b3da6a4
--- /dev/null
+++ b/wwwroot/appsettings.Development.json
@@ -0,0 +1,19 @@
+{
+ "AllowedHosts": "*",
+ "Kestrel": {
+ "Endpoints": {
+ "Http": {
+ "Url": "http://0.0.0.0:7132"
+ }
+ }
+ },
+ "DetailedErrors": true,
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning",
+ "HyperBooru.Services.OcrService": "Debug"
+ }
+ },
+ "DisableOcr": true
+}
diff --git a/wwwroot/appsettings.json b/wwwroot/appsettings.json
new file mode 100644
index 0000000..414e673
--- /dev/null
+++ b/wwwroot/appsettings.json
@@ -0,0 +1,12 @@
+{
+ "Logging": {
+ "LogLevel": {
+ "Default": "Information",
+ "Microsoft.AspNetCore": "Warning"
+ }
+ },
+ "ConnectionStrings": {
+ "DefaultConnection": "Host=127.0.0.1;Database=hyperbooru;Username=hyperbooru;Password=password"
+ },
+ "AllowedHosts": "*"
+}