Skip to content

Commit

Permalink
Add explicit Discord API number.
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Lin committed Jul 1, 2021
2 parents 7207461 + 2918a41 commit 57825c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiscordApi/DiscordAPI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace DiscordAPI

static const auto fakeBrowserUserAgent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0";

static const QString baseURL = QStringLiteral("https://discord.com/api/v");
static const QString baseURL = QStringLiteral("https://discord.com/api/v9");
static const QString baseImageURL = QStringLiteral("https://cdn.discordapp.com");

static const QString auth = baseURL + QStringLiteral("/auth");
Expand Down

0 comments on commit 57825c4

Please sign in to comment.