diff --git a/docs/ENV.md b/docs/ENV.md index 00a680a27..1615009e6 100644 --- a/docs/ENV.md +++ b/docs/ENV.md @@ -19,7 +19,7 @@ Default value: `https://braize.pajlada.com/chatterino/twitchemotes/set/%1/` Arguments: - `%1` = Emote set ID -### CHATTERINO2_IMAGE_PASTE_SITE_URL +### CHATTERINO2_IMAGE_UPLOADER_URL Used to change the URL that Chatterino2 uses when trying to paste an image into chat. This can be used for hosting the uploaded images yourself. Default value: `https://i.nuuls.com/upload` @@ -43,4 +43,3 @@ Default value: `443` ### CHATTERINO2_TWITCH_SERVER_SECURE Bool value used to tell Chatterino whether to try to connect securely (secure irc) to the Twitch chat server. Default value: `true` - diff --git a/src/common/Env.cpp b/src/common/Env.cpp index 35a8ea716..7921e8dec 100644 --- a/src/common/Env.cpp +++ b/src/common/Env.cpp @@ -57,7 +57,7 @@ Env::Env() , twitchEmoteSetResolverUrl(readStringEnv( "CHATTERINO2_TWITCH_EMOTE_SET_RESOLVER_URL", "https://braize.pajlada.com/chatterino/twitchemotes/set/%1/")) - , imageUploaderUrl(readStringEnv("CHATTERINO2_IMAGE_PASTE_SITE_URL", + , imageUploaderUrl(readStringEnv("CHATTERINO2_IMAGE_UPLOADER_URL", "https://i.nuuls.com/upload")) , twitchServerHost( readStringEnv("CHATTERINO2_TWITCH_SERVER_HOST", "irc.chat.twitch.tv"))