mirror of
https://github.com/zadam/trilium.git
synced 2024-11-15 12:17:01 +08:00
11 lines
206 B
JavaScript
11 lines
206 B
JavaScript
|
const express = require('express');
|
||
|
const router = express.Router();
|
||
|
|
||
|
router.post('', async (req, res, next) => {
|
||
|
req.session.loggedIn = false;
|
||
|
|
||
|
res.redirect('login');
|
||
|
});
|
||
|
|
||
|
module.exports = router;
|