From 5abf75bfa69541da3ce81d74960ce7f5fa9ac29e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 25 Feb 2023 19:16:40 +0000 Subject: [PATCH] oopsie fix --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 57c8bf6..54e167a 100644 --- a/index.js +++ b/index.js @@ -35,14 +35,14 @@ app.get("/rices", (req, res) => { res.render("rices"); }); +app.get("/discord", (req, res) => { + res.status(200).send("redirecting..."); +}); + app.use((_, res) => { res.status(404).render("404"); }); app.listen(process.env.PORT || 4000, () => { console.log("Listening to PORT: 4000"); -}); - -app.get("/discord", (req, res) => { - res.status(200).send("redirecting..."); }); \ No newline at end of file