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
385 B

const routes = require('express').Router();
const builder = require('../../utils/pageBuilder.js');
routes.get('/', (request, result) =>
{
builder.constructAdminPage(request, result, require("../../admin/adminHome").main)
});
routes.post('/', (request, result) =>
{
builder.constructAdminPage(request, result, require("../../admin/login").main)
});
module.exports = routes;