mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 10:32:27 +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;
|