From 7658f1400a8d1b01b1b2f6b3842f4f5fddbc314e Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Mon, 30 Sep 2024 12:11:55 -0500 Subject: [PATCH] dynmap is no longer in use, but we'll redirect to the new path --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 2e281d3..c4e2d69 100644 --- a/index.js +++ b/index.js @@ -208,6 +208,10 @@ app.get("/cause-error-403", function(req, res) { app.get('/', function(req, res) { res.sendFile(path.join(dir + "pages/", `index.html`)); }); +app.get("/dynmap", function(req, res) { + return res.redirect("/bluemap/") + next(); +}); app.get(/\.html$/, function(req, res) { const strippedUrl = req.url.slice(0, -5); return res.redirect(strippedUrl);