Add LoginEndpoint.aspx redirects to uczen and wiadomosciplus modules

This commit is contained in:
Mikołaj Pich 2024-01-10 21:19:28 +01:00
parent efee3a9cde
commit fd7b0c003e
2 changed files with 8 additions and 0 deletions

View file

@ -74,6 +74,10 @@ router.get("/", (req, res) => {
}); });
}); });
router.get("/LoginEndpoint.aspx", (req, res) => {
res.redirect("/Start");
});
router.get("/Start", (req, res) => { router.get("/Start", (req, res) => {
res.render("uczen/start"); res.render("uczen/start");
}); });

View file

@ -8,6 +8,10 @@ router.get("/", (req, res) => {
res.render("messages"); res.render("messages");
}); });
router.get("/LoginEndpoint.aspx", (req, res) => {
res.redirect("/");
});
router.get("/-endpoints", (req, res) => { router.get("/-endpoints", (req, res) => {
const base = protocol(req) + "://" + req.get('host') + "/powiatwulkanowy"; const base = protocol(req) + "://" + req.get('host') + "/powiatwulkanowy";
res.json({ res.json({