mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-17 01:12:20 +00:00
13 lines
No EOL
244 B
JavaScript
13 lines
No EOL
244 B
JavaScript
"use strict";
|
|
|
|
var config = require("./config.js");
|
|
|
|
module.exports = app => {
|
|
app.get("/", (request, response) => {
|
|
response.render("index.hbs");
|
|
});
|
|
|
|
app.get("*", (request, response) => {
|
|
response.status(404).render("404.hbs");
|
|
});
|
|
}; |