瀏覽代碼

Gallery WIP

kanadeko 8 年之前
父節點
當前提交
3f3505dee7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      controllers/galleryController.js

+ 2 - 2
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'},