Implemented the ability to configure the default port for non-docker users. Docker users will always be 5000. (#280)

This commit is contained in:
Joseph Milazzo 2021-06-07 14:36:35 -05:00 committed by GitHub
parent 4606b54603
commit 5259a1484a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 63 additions and 7 deletions

View file

@ -41,7 +41,7 @@ namespace API.Data
//new () {Key = ServerSettingKey.LoggingLevel, Value = "Information"},
new () {Key = ServerSettingKey.TaskBackup, Value = "weekly"},
new () {Key = ServerSettingKey.BackupDirectory, Value = Path.GetFullPath(Path.Join(Directory.GetCurrentDirectory(), "backups/"))},
new () {Key = ServerSettingKey.Port, Value = "5000"},
//new () {Key = ServerSettingKey.Port, Value = "5000"}, // TODO: Remove ServerSettingKey
};
foreach (var defaultSetting in defaultSettings)