diff --git a/WebHostLib/__init__.py b/WebHostLib/__init__.py index cfce8b05..13269dc0 100644 --- a/WebHostLib/__init__.py +++ b/WebHostLib/__init__.py @@ -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) diff --git a/WebHostLib/templates/hostRoom.html b/WebHostLib/templates/hostRoom.html index 24b7bbf1..9133cb75 100644 --- a/WebHostLib/templates/hostRoom.html +++ b/WebHostLib/templates/hostRoom.html @@ -20,7 +20,7 @@ later, you can simply refresh this page and the server will be started again.
{% 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 client.
{% endif %} {{ macros.list_patches_room(room) }} {% if room.owner == session["_id"] %}