Add configs, and disable debug code

This commit is contained in:
Timothy Baldridge 2023-10-12 14:23:51 -06:00
parent 7a706fdd64
commit b0ea9bb398
2 changed files with 8 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class Client
{
_logger.LogError("HTTP Error: {Result}", result);
await SendMetric("rebound", "Error", false);
// Environment.Exit(0);
Environment.Exit(0);
}
}

View File

@ -28,6 +28,13 @@
"Database": "metrics",
"Username": "wabbajack",
"Password": "password"
},
"AuthoredFilesS3": {
"AccessKey": "<ACCESS_KEY>",
"SecretKey": "<SECRET_KEY>",
"ServiceURL": "<SERVICE_URL>",
"BucketName": "authored-files",
"BucketCacheFile": "c:\\tmp\\bucket-cache.txt"
}
},
"AllowedHosts": "*"