1
0
Fork 0

web - remove debug info api

master
Ruben Meyer 2 years ago
parent 50cc5c93a9
commit 71f6b18b85
Signed by: rxbn_
GPG Key ID: BE3BF898BE352FE2

@ -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;
};

Loading…
Cancel
Save