mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-05 19:40:09 +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){
|
galleryController.test = function(req, res, next){
|
||||||
if(!config.privacy.public)
|
//if(!config.privacy.public)
|
||||||
if(!config.privacy.IPs.includes(req.ip)) return res.status(401).send('Not Authorized!')
|
//if(!config.privacy.IPs.includes(req.ip)) return res.status(401).send('Not Authorized!')
|
||||||
|
|
||||||
let testdata = [
|
let testdata = [
|
||||||
{name: 'Test 1'},
|
{name: 'Test 1'},
|
||||||
|
Loading…
Reference in New Issue
Block a user