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.
 
 

16 lines
332 B

const routes = require('express').Router();
const contentLoader = require('../../includes/staticContentServer.js');
routes.get('*', (request, result) =>
{
if(!contentLoader.serveStaticContent(request, result, request.originalUrl, ""))
{
//missing content
result.end();
}
});
module.exports = routes;