1
0
Fork 0
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:
Kane York 2016-04-01 19:22:55 -07:00
parent 8b8bfe8ff2
commit e1e26f5288

View file

@ -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}