1
0
Fork 0

web - remove debug info api

This commit is contained in:
Ruben Meyer 2020-08-31 09:49:39 +02:00
parent 50cc5c93a9
commit 71f6b18b85
Signed by: rxbn_
GPG Key ID: BE3BF898BE352FE2
1 changed files with 0 additions and 10 deletions

View File

@ -233,16 +233,6 @@ getRoutes = async () => {
}
});
if(global['gds'].debug) {
// DEBUG info
route.get('/info', (req, res) => {
let obj = {};
if(req.session) obj.session = req.session;
if(req.cookies) obj.cookie = req.cookies;
res.type('json').end(JSON.stringify(obj));
});
}
return route;
};