mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
WebHost: Spoiler is now longstr, which doesn't need BOM handling
This commit is contained in:
@@ -62,7 +62,7 @@ def download_patch(patch_id, room_id):
|
|||||||
|
|
||||||
@app.route("/dl_spoiler/<suuid:seed_id>")
|
@app.route("/dl_spoiler/<suuid:seed_id>")
|
||||||
def download_spoiler(seed_id):
|
def download_spoiler(seed_id):
|
||||||
return Response(Seed.get(id=seed_id).spoiler[3:], mimetype="text/plain")
|
return Response(Seed.get(id=seed_id).spoiler, mimetype="text/plain")
|
||||||
|
|
||||||
|
|
||||||
@app.route("/dl_raw_patch/<suuid:seed_id>/<int:player_id>")
|
@app.route("/dl_raw_patch/<suuid:seed_id>/<int:player_id>")
|
||||||
|
Reference in New Issue
Block a user