This commit is contained in:
Flummi
2018-02-16 14:48:41 +01:00
parent 159cb02bf0
commit 4261972931
4 changed files with 30 additions and 2 deletions

View File

@ -4,5 +4,8 @@ const router = express.Router();
router.get("/", (req, res) => {
res.render("about");
});
router.get("/howto", (req, res) => {
res.render("howto");
});
export default router;

View File

@ -2,7 +2,6 @@ import express from "express";
const router = express.Router();
import highlight from "highlight.js";
console.log(highlight.highlightAuto("<?php\necho 'blah';\n?>"));
router.get("/", (req, res) => {
const data = {