1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-31 18:31:06 +00:00

4.0.0-rc8.2

* Fixed: Appearance of Twitch emotes in locally displayed `/me` messages in chat.
* Fixed: Rendering of international usernames in Clips Chat.
* Changed: Tag error reports with the current site.

Fix the implementation of rate-limiting in the socket server to use data from the sealed request. Load a list of acceptable origins from the config file.
This commit is contained in:
SirStendec 2018-07-21 16:26:10 -04:00
parent 7f7312188c
commit 7e6a08ad1d
8 changed files with 33 additions and 17 deletions

View file

@ -35,6 +35,12 @@ type ConfigFile struct {
// Path to key file.
SSLKeyFile string
// Origin Checking
UseOriginChecks bool
// Allowed Origins
AllowedOrigins []string
// Nacl keys
OurPrivateKey []byte
OurPublicKey []byte