Make /connect archipelago.gg:port reflect PATCH_TARGET.

This commit is contained in:
CaitSith2 2021-11-16 11:00:36 -08:00
parent 97f6003582
commit 899e9331fa
2 changed files with 3 additions and 1 deletions

View File

@ -171,6 +171,8 @@ def hostRoom(room: UUID):
with db_session:
room.last_activity = datetime.utcnow() # will trigger a spinup, if it's not already running
room.server = app.config['PATCH_TARGET']
return render_template("hostRoom.html", room=room)

View File

@ -20,7 +20,7 @@
later,
you can simply refresh this page and the server will be started again.<br>
{% if room.last_port %}
You can connect to this room by using '/connect archipelago.gg:{{ room.last_port }}'
You can connect to this room by using '/connect {{ room.server }}:{{ room.last_port }}'
in the <a href="{{ url_for("tutorial_landing")}}">client</a>.<br>{% endif %}
{{ macros.list_patches_room(room) }}
{% if room.owner == session["_id"] %}