fix current server

This commit is contained in:
Stanley Dimant
2023-03-17 13:57:09 +01:00
parent 549bef1afb
commit e5698c4c0c
3 changed files with 9 additions and 1 deletions

View File

@@ -23,6 +23,12 @@ public class ServerConfigurationManager
_serverTagConfig = serverTagConfig;
_notesConfig = notesConfig;
_dalamudUtil = dalamudUtil;
if (_configService.Current.CurrentServer < 0)
{
_configService.Current.CurrentServer = 0;
_configService.Save();
}
}
public string CurrentApiUrl => CurrentServer.ServerUri;