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.
 
 

15 lines
384 B

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