aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkanadeko <[email protected]>2017-01-13 18:40:08 -0300
committerkanadeko <[email protected]>2017-01-13 18:40:08 -0300
commit3f3505dee7a7895531ee408edc23ede48fb382c4 (patch)
treedcbc639b322c929469bac7294833bf44dd2510be
parentGallery WIP (diff)
downloadhost.fuwn.me-3f3505dee7a7895531ee408edc23ede48fb382c4.tar.xz
host.fuwn.me-3f3505dee7a7895531ee408edc23ede48fb382c4.zip
Gallery WIP
-rw-r--r--controllers/galleryController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/controllers/galleryController.js b/controllers/galleryController.js
index 923c3c6..f2e914c 100644
--- a/controllers/galleryController.js
+++ b/controllers/galleryController.js
@@ -13,8 +13,8 @@ galleryController.list = function(req, res, next){
}
galleryController.test = function(req, res, next){
- if(!config.privacy.public)
- if(!config.privacy.IPs.includes(req.ip)) return res.status(401).send('Not Authorized!')
+ //if(!config.privacy.public)
+ //if(!config.privacy.IPs.includes(req.ip)) return res.status(401).send('Not Authorized!')
let testdata = [
{name: 'Test 1'},