mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-29 23:52:50 +00:00
13 lines
264 B
JavaScript
13 lines
264 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var config = require("./config.js");
|
||
|
|
||
|
module.exports = function (app) {
|
||
|
app.get("/", function (request, response) {
|
||
|
response.render("index.hbs");
|
||
|
});
|
||
|
|
||
|
app.get("*", function (request, response) {
|
||
|
response.status(404).render("404.hbs");
|
||
|
});
|
||
|
};
|