diff options
-rw-r--r-- | api/src/routes/downloads.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/routes/downloads.ts b/api/src/routes/downloads.ts index de261702..ad78b62f 100644 --- a/api/src/routes/downloads.ts +++ b/api/src/routes/downloads.ts @@ -8,6 +8,7 @@ router.get("/:branch", route({}), async (req: Request, res: Response) => { const { client } = Config.get(); const { branch } = req.params; const { platform } = req.query; + //TODO if(!platform || !["linux", "osx", "win"].includes(platform.toString())) return res.status(404) |