From d5c19e50f085eaa3af894fbe05d39dff19420542 Mon Sep 17 00:00:00 2001 From: TriForMine Date: Sun, 27 Dec 2020 11:33:37 +0100 Subject: [PATCH] fix: remove extra slash from IMAGE_BASE_URL (#274) Removed the extra slash at the end since the usage of this variable always add the slash after the constant. --- src/util/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/constants.ts b/src/util/constants.ts index 697780293..8a86a20e9 100644 --- a/src/util/constants.ts +++ b/src/util/constants.ts @@ -12,7 +12,7 @@ export const USER_AGENT = "DiscordBot (https://github.com/discordeno/discordeno, v10)"; /** https://discord.com/developers/docs/reference#image-formatting-image-base-url */ -export const IMAGE_BASE_URL = "https://cdn.discordapp.com/"; +export const IMAGE_BASE_URL = "https://cdn.discordapp.com"; // This can be modified by big brain bots and use a proxy export const baseEndpoints = {