implement an entire base refacotr and alot of styling overhauls and remakes.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import express from "express";
|
||||
|
||||
export function createPagesRouter(config) {
|
||||
const router = express.Router();
|
||||
|
||||
router.get("/market", (req, res) => res.sendFile(`${config.publicDir}/market.html`));
|
||||
router.get("/settings", (req, res) => res.sendFile(`${config.publicDir}/settings.html`));
|
||||
router.get("/", (req, res) => res.sendFile(`${config.publicDir}/index.html`));
|
||||
|
||||
return router;
|
||||
}
|
||||
Reference in New Issue
Block a user