mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
10 lines
241 B
JavaScript
10 lines
241 B
JavaScript
|
const express = require("express"),
|
||
|
router = express.Router();
|
||
|
|
||
|
// Gets login page
|
||
|
router.get("/", async function(req, res) {
|
||
|
await req.session.destroy();
|
||
|
res.redirect(req.client.config.dashboard.failureURL);
|
||
|
});
|
||
|
|
||
|
module.exports = router;
|