From 691c08ebde66fbca9f078040fb2c54047a644c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Tue, 5 Sep 2023 10:24:21 +0200 Subject: [PATCH] Update spectator server development endpoint URLs With the way `dev.ppy.sh` was previously configured, the `osu-web` `/multiplayer` routes and `osu-server-spectator` `/multiplayer` routes would conflict with each other, with the `osu-server-spectator` route taking precedence. This would mean that some `osu-web` pages would just straight up not be available on dev. To counteract this, the `osu-server-spectator` routes are now exposed under `https://dev.ppy.sh/signalr/`. This PR updates the client-side configuration to use these new routes. --- osu.Game/Online/DevelopmentEndpointConfiguration.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Online/DevelopmentEndpointConfiguration.cs b/osu.Game/Online/DevelopmentEndpointConfiguration.cs index 69276f452a15..5f3c353f4d8b 100644 --- a/osu.Game/Online/DevelopmentEndpointConfiguration.cs +++ b/osu.Game/Online/DevelopmentEndpointConfiguration.cs @@ -10,9 +10,9 @@ public DevelopmentEndpointConfiguration() WebsiteRootUrl = APIEndpointUrl = @"https://dev.ppy.sh"; APIClientSecret = @"3LP2mhUrV89xxzD1YKNndXHEhWWCRLPNKioZ9ymT"; APIClientID = "5"; - SpectatorEndpointUrl = $"{APIEndpointUrl}/spectator"; - MultiplayerEndpointUrl = $"{APIEndpointUrl}/multiplayer"; - MetadataEndpointUrl = $"{APIEndpointUrl}/metadata"; + SpectatorEndpointUrl = $@"{APIEndpointUrl}/signalr/spectator"; + MultiplayerEndpointUrl = $@"{APIEndpointUrl}/signalr/multiplayer"; + MetadataEndpointUrl = $@"{APIEndpointUrl}/signalr/metadata"; } } }