Added login functionality for tech BOD-95
This commit is contained in:
@@ -84,6 +84,10 @@ app.post("/notifications/send", fb.sendNotification);
|
||||
var stripe = require("./server/stripe/payment");
|
||||
app.post("/stripe/payment", stripe.payment);
|
||||
|
||||
//Tech Console
|
||||
var tech = require("./server/tech/tech");
|
||||
app.post("/tech/login", tech.techLogin);
|
||||
|
||||
//Serve React App if in Production
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
app.use(express.static(path.join(__dirname, "client/build")));
|
||||
|
||||
Reference in New Issue
Block a user