diff --git a/src/common/Env.cpp b/src/common/Env.cpp index 046febf53..b30cc652d 100644 --- a/src/common/Env.cpp +++ b/src/common/Env.cpp @@ -28,7 +28,7 @@ Env::Env() , twitchEmoteSetResolverUrl(readStringEnv( "CHATTERINO2_TWITCH_EMOTE_SET_RESOLVER_URL", "https://braize.pajlada.com/chatterino/twitchemotes/set/%1/")) - , imagePasteSiteUrl(readStringEnv("CHATTERINO2_IMAGE_PASTE_SITE_URL", + , imageUploaderUrl(readStringEnv("CHATTERINO2_IMAGE_PASTE_SITE_URL", "https://i.nuuls.com/upload")) { } diff --git a/src/common/Env.hpp b/src/common/Env.hpp index a47dd3aff..07beef859 100644 --- a/src/common/Env.hpp +++ b/src/common/Env.hpp @@ -14,7 +14,7 @@ public: const QString recentMessagesApiUrl; const QString linkResolverUrl; const QString twitchEmoteSetResolverUrl; - const QString imagePasteSiteUrl; + const QString imageUploaderUrl; }; } // namespace chatterino diff --git a/src/util/NuulsUploader.cpp b/src/util/NuulsUploader.cpp index c181a6e69..dfe6c679e 100644 --- a/src/util/NuulsUploader.cpp +++ b/src/util/NuulsUploader.cpp @@ -15,7 +15,7 @@ void uploadImageToNuuls(TypedBytes imageData, ChannelPtr channel, ResizingTextEdit &textEdit) { const char *boundary = "thisistheboudaryasd"; - static QUrl url(Env::get().imagePasteSiteUrl); + static QUrl url(Env::get().imageUploaderUrl); QHttpMultiPart *payload = new QHttpMultiPart(QHttpMultiPart::FormDataType); QHttpPart part = QHttpPart();