Add default api url

This commit is contained in:
Loporrit
2025-08-05 08:29:51 +00:00
parent b773443b68
commit 9d9ec9cafc
3 changed files with 5 additions and 0 deletions

View File

@@ -79,6 +79,8 @@ public sealed class TokenProvider : IDisposable, IMediatorSubscriber
var config = await _remoteConfig.GetConfigAsync<HubConnectionConfig>("mainServer").ConfigureAwait(false) ?? new();
if (!string.IsNullOrEmpty(config.ApiUrl))
authApiUrl = config.ApiUrl;
else
authApiUrl = ApiController.LoporritServiceApiUri;
}
try