Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import express from 'express';
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/", function(req, res, next){
|
||||
res.render("info");
|
||||
});
|
||||
|
||||
router.get("/imprint", function(req, res, next){
|
||||
res.render("imprint");
|
||||
});
|
||||
|
||||
router.use(function(rep, res, next){
|
||||
res.status(404).render("404");
|
||||
});
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user