mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-25 22:29:25 -05: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;
|