Browse Source

Actually apply the SSL workaround...

tags/docs-0.9
RogueException 9 years ago
parent
commit
8458465b71
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordClient.cs

+ 1
- 1
src/Discord.Net/DiscordClient.cs View File

@@ -253,7 +253,7 @@ namespace Discord

_api.Token = token;
string gateway = (await _api.Gateway().ConfigureAwait(false)).Url;
gateway.Replace("discord.gg", "discordapp.net"); //Temporary SSL workaround
gateway = gateway.Replace("discord.gg", "discordapp.net"); //Temporary SSL workaround
if (_config.LogLevel >= LogMessageSeverity.Verbose)
RaiseOnLog(LogMessageSeverity.Verbose, LogMessageSource.Client, $"Websocket endpoint: {gateway}");



Loading…
Cancel
Save