Add new version of uonetplus start endpoint
This commit is contained in:
parent
55c6902049
commit
53b126cb8f
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ router.all(/^\/([a-z0-9]+)(?:\/LoginEndpoint\.aspx|\/)?$/i, (req, res) => {
|
|||
res.redirect(protocol(req) + "://" + req.get('host').replace("uonetplus", "cufs") + "/powiatwulkanowy/Account/LogOn");
|
||||
});
|
||||
|
||||
router.get("/powiatwulkanowy/Start.mvc/Index", (req, res) => {
|
||||
router.get(["/powiatwulkanowy/Start.mvc", "/powiatwulkanowy/Start.mvc/Index"], (req, res) => {
|
||||
res.render("homepage", {
|
||||
title: "Uonet+",
|
||||
uonetplusOpiekun: protocol(req) + "://" + req.get('host').replace("uonetplus", "uonetplus-opiekun"),
|
||||
|
@ -157,4 +157,4 @@ router.get("/powiatwulkanowy/Start.mvc/Index", (req, res) => {
|
|||
});
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
module.exports = router;
|
||||
|
|
Loading…
Reference in a new issue