Update login.js
This commit is contained in:
committed by
GitHub
parent
15adfadaa9
commit
79e72a106a
@@ -6,7 +6,7 @@ const router = require("express").Router();
|
|||||||
router.get("/", function(req, res) {
|
router.get("/", function(req, res) {
|
||||||
res.sendFile(path.join(__dirname + "/../public/index.html"));
|
res.sendFile(path.join(__dirname + "/../public/index.html"));
|
||||||
});
|
});
|
||||||
|
/*
|
||||||
router.get("/register", function(req, res) {
|
router.get("/register", function(req, res) {
|
||||||
res.sendFile(path.join(__dirname + "/../public/index.html"));
|
res.sendFile(path.join(__dirname + "/../public/index.html"));
|
||||||
});
|
});
|
||||||
@@ -28,7 +28,7 @@ router.post("/register", function(req, res, next) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
router.get("/login", function(req, res) {
|
router.get("/login", function(req, res) {
|
||||||
res.sendFile(path.join(__dirname + "/../public/index.html"));
|
res.sendFile(path.join(__dirname + "/../public/index.html"));
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user