From cd83ddad34d630c5ab4fdd4e1c88cafb0fd66fd5 Mon Sep 17 00:00:00 2001 From: bloedboemmel <58067119+bloedboemmel@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:18:28 +0100 Subject: [PATCH] Unauthorized version (#367) --- apps/server/src/routes/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/routes/index.ts b/apps/server/src/routes/index.ts index 3de4adbd..2295ec76 100644 --- a/apps/server/src/routes/index.ts +++ b/apps/server/src/routes/index.ts @@ -191,7 +191,7 @@ router.put("/rename", validating(rename), logged, async (req, res) => { } }); -router.get("/version", logged, async (_, res) => { +router.get("/version", async (_, res) => { if (getWithDefault("NODE_ENV", "development") === "development") { return res.status(200).send({ update: false, version: "0.1.2" }); }