mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 19:02:33 +01:00
Update downloads.ts
This commit is contained in:
parent
442879e80a
commit
154b2512bc
@ -8,6 +8,7 @@ router.get("/:branch", route({}), async (req: Request, res: Response) => {
|
|||||||
const { client } = Config.get();
|
const { client } = Config.get();
|
||||||
const { branch } = req.params;
|
const { branch } = req.params;
|
||||||
const { platform } = req.query;
|
const { platform } = req.query;
|
||||||
|
//TODO
|
||||||
|
|
||||||
if(!platform || !["linux", "osx", "win"].includes(platform.toString())) return res.status(404)
|
if(!platform || !["linux", "osx", "win"].includes(platform.toString())) return res.status(404)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user