From b0ea9bb398d3f47a310a806ebc0bbf1ae4a4ac4e Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Thu, 12 Oct 2023 14:23:51 -0600 Subject: [PATCH] Add configs, and disable debug code --- Wabbajack.Networking.WabbajackClientApi/Client.cs | 2 +- Wabbajack.Server/appsettings.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Wabbajack.Networking.WabbajackClientApi/Client.cs b/Wabbajack.Networking.WabbajackClientApi/Client.cs index 6fe37c3c..d32d7d9f 100644 --- a/Wabbajack.Networking.WabbajackClientApi/Client.cs +++ b/Wabbajack.Networking.WabbajackClientApi/Client.cs @@ -93,7 +93,7 @@ public class Client { _logger.LogError("HTTP Error: {Result}", result); await SendMetric("rebound", "Error", false); - // Environment.Exit(0); + Environment.Exit(0); } } diff --git a/Wabbajack.Server/appsettings.json b/Wabbajack.Server/appsettings.json index 79381d45..5de64833 100644 --- a/Wabbajack.Server/appsettings.json +++ b/Wabbajack.Server/appsettings.json @@ -28,6 +28,13 @@ "Database": "metrics", "Username": "wabbajack", "Password": "password" + }, + "AuthoredFilesS3": { + "AccessKey": "", + "SecretKey": "", + "ServiceURL": "", + "BucketName": "authored-files", + "BucketCacheFile": "c:\\tmp\\bucket-cache.txt" } }, "AllowedHosts": "*"