mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed channel-name tap-target
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user