mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix a couple things Pajlada pointed out :)
Change `CHATTERINO2_IMAGE_PASTE_SITE_URL` to `CHATTERINO2_IMAGE_UPLOADER_URL` Remove newline at the end of `docs/ENV.md`
This commit is contained in:
parent
6c0b53a996
commit
916fbb2551
|
@ -19,7 +19,7 @@ Default value: `https://braize.pajlada.com/chatterino/twitchemotes/set/%1/`
|
||||||
Arguments:
|
Arguments:
|
||||||
- `%1` = Emote set ID
|
- `%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.
|
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`
|
Default value: `https://i.nuuls.com/upload`
|
||||||
|
|
||||||
|
@ -43,4 +43,3 @@ Default value: `443`
|
||||||
### CHATTERINO2_TWITCH_SERVER_SECURE
|
### CHATTERINO2_TWITCH_SERVER_SECURE
|
||||||
Bool value used to tell Chatterino whether to try to connect securely (secure irc) to the Twitch chat server.
|
Bool value used to tell Chatterino whether to try to connect securely (secure irc) to the Twitch chat server.
|
||||||
Default value: `true`
|
Default value: `true`
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ Env::Env()
|
||||||
, twitchEmoteSetResolverUrl(readStringEnv(
|
, twitchEmoteSetResolverUrl(readStringEnv(
|
||||||
"CHATTERINO2_TWITCH_EMOTE_SET_RESOLVER_URL",
|
"CHATTERINO2_TWITCH_EMOTE_SET_RESOLVER_URL",
|
||||||
"https://braize.pajlada.com/chatterino/twitchemotes/set/%1/"))
|
"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"))
|
"https://i.nuuls.com/upload"))
|
||||||
, twitchServerHost(
|
, twitchServerHost(
|
||||||
readStringEnv("CHATTERINO2_TWITCH_SERVER_HOST", "irc.chat.twitch.tv"))
|
readStringEnv("CHATTERINO2_TWITCH_SERVER_HOST", "irc.chat.twitch.tv"))
|
||||||
|
|
Loading…
Reference in a new issue