mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-12 23:46:22 +00:00
Gallery WIP
This commit is contained in:
parent
9bb621a773
commit
3f3505dee7
@ -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'},
|
||||
|
Loading…
Reference in New Issue
Block a user