diff options
author | Kuna <65683493+Thesourtimes@users.noreply.github.com> | 2021-12-18 16:21:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 16:21:05 +0000 |
commit | e08212f87d3edbf8b8d8cbe839664496e79a1e4b (patch) | |
tree | ae18c32a582c965f7ec2cc784fc9b2904e6215c1 /api | |
parent | General work on API (diff) | |
download | server-e08212f87d3edbf8b8d8cbe839664496e79a1e4b.tar.xz |
Update downloads.ts
Diffstat (limited to 'api')
-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) |