Revamp Job flow
This commit is contained in:
parent
945afdfbbe
commit
4a0a4b29a5
86 changed files with 592 additions and 608 deletions
8
lib/server/routes/react-route.js
vendored
Normal file
8
lib/server/routes/react-route.js
vendored
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue