Removed channel-name tap-target

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-26 11:20:29 +02:00
parent 6777ace942
commit 61647e96c7
3 changed files with 0 additions and 18 deletions

View File

@@ -1095,7 +1095,6 @@ function incrementToken(token) {
router.route('/api/color').post(function(req, res) {
var origin = req.get("origin").replace("https://", "").replace("http://", "");
var allowed = ["client.localhost", "localhost", "zoff.me", "client.zoff.me", "zoff.no", "client.zoff.no"];
console.log(req.body);
if(allowed.indexOf(origin) < 0) {
res.sendStatus(403);
return;