Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
404 B

const routes = require('express').Router();
const pageBuilder = require('../utils/pageBuilder');
routes.get('/', (request, result) =>
{
require("../blog/contact.js").main(request, result);
});
routes.post('/', (request, result) =>
{
require("../blog/contact.js").main(request, result);
});
routes.get('*', (request, result) =>
{
pageBuilder.print404(result);
});
module.exports = routes;