From 1363593f6432c417b998a745fef1ce3439dda4f8 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 11 Dec 2016 12:33:01 +0100 Subject: Also authenticate the root listing of univq --- webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.js b/webserver.js index ee70031..04984a0 100755 --- a/webserver.js +++ b/webserver.js @@ -60,7 +60,7 @@ app.get("/",function(req,res){ ); }); -app.get("/f/univq/*",cmn.authgen()); +app.get(["/f/univq","/f/univq/*"],cmn.authgen()); app.get("/f/*",function(req,res){ var parsed=url.parse(req.url),basefname=parsed.pathname.slice(2).replace(/\/\.+[^\/]*\//g,"/"); -- cgit v1.2.3-70-g09d2