mirror of
https://github.com/zadam/trilium.git
synced 2024-11-15 20:33:12 +08:00
10 lines
206 B
JavaScript
10 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;
|