Add LoginEndpoint.aspx redirects to uczen and wiadomosciplus modules
This commit is contained in:
parent
efee3a9cde
commit
fd7b0c003e
2 changed files with 8 additions and 0 deletions
|
@ -74,6 +74,10 @@ router.get("/", (req, res) => {
|
|||
});
|
||||
});
|
||||
|
||||
router.get("/LoginEndpoint.aspx", (req, res) => {
|
||||
res.redirect("/Start");
|
||||
});
|
||||
|
||||
router.get("/Start", (req, res) => {
|
||||
res.render("uczen/start");
|
||||
});
|
||||
|
|
|
@ -8,6 +8,10 @@ router.get("/", (req, res) => {
|
|||
res.render("messages");
|
||||
});
|
||||
|
||||
router.get("/LoginEndpoint.aspx", (req, res) => {
|
||||
res.redirect("/");
|
||||
});
|
||||
|
||||
router.get("/-endpoints", (req, res) => {
|
||||
const base = protocol(req) + "://" + req.get('host') + "/powiatwulkanowy";
|
||||
res.json({
|
||||
|
|
Loading…
Reference in a new issue