1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Internet_Security/routes/notFound.js
2020-05-11 10:51:30 +02:00

11 lines
179 B
JavaScript

let router = require("express").Router();
router.use((req, res) => {
res.status(404);
res.render("404", {url: req.path, session: req.session});
});
module.exports = router