From fd7b0c003e2815c5356c92db75630a3897eee81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Wed, 10 Jan 2024 21:19:28 +0100 Subject: [PATCH] Add LoginEndpoint.aspx redirects to uczen and wiadomosciplus modules --- src/routes/uonetplus-uczen.js | 4 ++++ src/routes/uonetplus-wiadomosciplus.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/routes/uonetplus-uczen.js b/src/routes/uonetplus-uczen.js index 453e864..613a231 100644 --- a/src/routes/uonetplus-uczen.js +++ b/src/routes/uonetplus-uczen.js @@ -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"); }); diff --git a/src/routes/uonetplus-wiadomosciplus.js b/src/routes/uonetplus-wiadomosciplus.js index 33a1878..479799e 100644 --- a/src/routes/uonetplus-wiadomosciplus.js +++ b/src/routes/uonetplus-wiadomosciplus.js @@ -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({