momentum-mod / website

Momentum Mod's main website.
https://momentum-mod.org
MIT License
58 stars 59 forks source link

Remove /maps/{mapID/upload and /maps/{mapID/download #837

Closed tsa96 closed 1 year ago

tsa96 commented 1 year ago

Map submission is now done in a single POST request with multipart/form-data, so we no longer need to store a map in the PENDING state whilst we wait for the frontend to upload the BSP.

Also, the download endpoint is totally unused, and really shouldn't be used. Once a map is in cloud storage there's absolutely no reason for us to stream maps via the backend.