Minor Adjustments

This commit is contained in:
Dunemask 2023-03-19 13:53:37 -04:00
parent 1084f5d937
commit f486d50efa
60 changed files with 1965 additions and 127 deletions

8
libold/server/routes/react-route.js vendored Normal file
View file

@ -0,0 +1,8 @@
import express, { Router } from "express";
import path from "path";
const router = Router();
router.use("/", express.static(path.resolve("./build")));
router.get("/*", (req, res) =>
res.sendFile(path.resolve("./build/index.html"))
);
export default router;