mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
add cbenni.com to origin regexp whitelist
This commit is contained in:
parent
8b8bfe8ff2
commit
e1e26f5288
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ const defaultMinMemoryKB = 1024 * 24
|
|||
// DotTwitchDotTv is the .twitch.tv suffix.
|
||||
const DotTwitchDotTv = ".twitch.tv"
|
||||
|
||||
var OriginRegexp = regexp.MustCompile(DotTwitchDotTv + "$")
|
||||
const dotCbenniDotCom = ".cbenni.com"
|
||||
|
||||
var OriginRegexp = regexp.MustCompile("(" + DotTwitchDotTv + "|" + dotCbenniDotCom + ")" + "$")
|
||||
|
||||
// ResponseSuccess is a Reply ClientMessage with the MessageID not yet filled out.
|
||||
var ResponseSuccess = ClientMessage{Command: SuccessCommand}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue