Prefer connecting to dev server when running in DEBUG

This commit is contained in:
Dean Herbert
2020-12-24 01:33:19 +09:00
parent 60be1bedc9
commit e89583d732
3 changed files with 15 additions and 1 deletions

View File

@ -104,7 +104,11 @@ namespace osu.Game.Online.Spectator
}
}
#if DEBUG
private const string endpoint = "https://dev.ppy.sh/spectator";
#else
private const string endpoint = "https://spectator.ppy.sh/spectator";
#endif
protected virtual async Task Connect()
{