mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
track locations
This commit is contained in:
@@ -111,6 +111,8 @@ processstartlock = threading.Lock()
|
||||
@app.route('/hosted/<int:room>', methods=['GET', 'POST'])
|
||||
def host_room(room: int):
|
||||
room = Room.get(id=room)
|
||||
if room is None:
|
||||
return abort(404)
|
||||
if request.method == "POST":
|
||||
if room.owner == session["_id"]:
|
||||
cmd = request.form["cmd"]
|
||||
|
||||
Reference in New Issue
Block a user