mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
[WebHost] Add version notice to /generate and /uploads
This commit is contained in:
@@ -11,6 +11,7 @@ from pony.orm import flush, select
|
||||
from WebHostLib import app, Seed, Room, Slot
|
||||
from Utils import parse_yaml, VersionException
|
||||
from Patch import preferred_endings
|
||||
from Utils import __version__
|
||||
|
||||
banned_zip_contents = (".sfc",)
|
||||
|
||||
@@ -125,7 +126,7 @@ def uploads():
|
||||
return redirect(url_for("view_seed", seed=seed.id))
|
||||
else:
|
||||
flash("Not recognized file format. Awaiting a .archipelago file or .zip containing one.")
|
||||
return render_template("hostGame.html")
|
||||
return render_template("hostGame.html", version=__version__)
|
||||
|
||||
|
||||
@app.route('/user-content', methods=['GET'])
|
||||
|
Reference in New Issue
Block a user