Skip to content

Commit

Permalink
Comb: Add gates for csscomb.com and csscomb.ru
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyganch committed Jul 22, 2014
1 parent 7174c87 commit 2d619a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comb.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module.exports = function(req, res){
var acceptedReferers = [
'http://localhost:4444/online',
'http://csscomb.jit.su/online',
'http://csscomb.com',
'http://csscomb.ru'
'http://csscomb.com/online',

This comment has been minimized.

Copy link
@kaleb

kaleb Sep 11, 2014

Need to add www.csscomb.com/online as well. See issue #5

'http://csscomb.ru/online'
];
if (acceptedReferers.indexOf(req.headers.referer) < 0)
res.send('Don\'t be evil');
Expand Down

0 comments on commit 2d619a1

Please sign in to comment.