2020-04-26 20:12:50 +02:00
|
|
|
let router = require("express").Router();
|
|
|
|
|
|
|
|
|
|
|
|
router.use((req, res) => {
|
|
|
|
res.status(404);
|
2020-04-29 09:22:33 +02:00
|
|
|
res.render("404", {url: req.path, session: req.session});
|
2020-04-26 20:12:50 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = router
|
|
|
|
|