Added job login and log off functionality. BOD-183

This commit is contained in:
Patrick Fic
2020-07-03 16:35:18 -07:00
parent 1ff3cd0f55
commit 88c29490ca
24 changed files with 740 additions and 125 deletions

View File

@@ -89,6 +89,9 @@ app.post("/stripe/payment", stripe.payment);
var tech = require("./server/tech/tech");
app.post("/tech/login", tech.techLogin);
var utils = require("./server/utils/utils");
app.post("/utils/time", utils.servertime);
//Serve React App if in Production
if (process.env.NODE_ENV === "production") {
app.use(express.static(path.join(__dirname, "client/build")));