From 44346589cc6458362362c7ec801c643115e767d2 Mon Sep 17 00:00:00 2001 From: ImBenji Date: Thu, 28 Aug 2025 20:40:11 +0100 Subject: [PATCH] Add external port configuration to server registration request --- lib/services/server_service.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/services/server_service.dart b/lib/services/server_service.dart index 8b08892..c522fcb 100644 --- a/lib/services/server_service.dart +++ b/lib/services/server_service.dart @@ -28,6 +28,7 @@ class ServerService { Map requestBody = { 'server_id': fromEnivronment('SERVER_ID')!, + "port": int.parse(fromEnivronment('EXTERNAL_PORT') ?? 3000), 'registration_auth': registrationAuth, };