mirror of
https://github.com/ppy/osu
synced 2024-12-25 16:22:23 +00:00
691c08ebde
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.
19 lines
741 B
C#
19 lines
741 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
namespace osu.Game.Online
|
|
{
|
|
public class DevelopmentEndpointConfiguration : EndpointConfiguration
|
|
{
|
|
public DevelopmentEndpointConfiguration()
|
|
{
|
|
WebsiteRootUrl = APIEndpointUrl = @"https://dev.ppy.sh";
|
|
APIClientSecret = @"3LP2mhUrV89xxzD1YKNndXHEhWWCRLPNKioZ9ymT";
|
|
APIClientID = "5";
|
|
SpectatorEndpointUrl = $@"{APIEndpointUrl}/signalr/spectator";
|
|
MultiplayerEndpointUrl = $@"{APIEndpointUrl}/signalr/multiplayer";
|
|
MetadataEndpointUrl = $@"{APIEndpointUrl}/signalr/metadata";
|
|
}
|
|
}
|
|
}
|