From 9b93bd9c8c866b263a024251cc53da693fde5203 Mon Sep 17 00:00:00 2001 From: Franci Zidar Date: Tue, 4 Aug 2015 16:39:57 +0200 Subject: [PATCH] Update --- server.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server.js b/server.js index e38698f..871be5a 100644 --- a/server.js +++ b/server.js @@ -13,8 +13,11 @@ exports.startServer = function(cb){ var userAgent = req.get('User-Agent'); var search = userAgent.indexOf('Mac'); + if(search !== -1){ + //res.send('You have a mac, you are not welcome'); + } next();