Skip to content

Commit

Permalink
Unauthorized version (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
bloedboemmel authored Mar 11, 2024
1 parent e6ad0bc commit cd83dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" });
}
Expand Down

0 comments on commit cd83dda

Please sign in to comment.