From ca36f33d69155f156cb5ce72ab397cb2b06a6472 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Thu, 29 Jan 2026 06:36:18 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20support=20for=20specifying?= =?UTF-8?q?=20backend=20port=20in=20deployment=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/utils/deploy-pokedex.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/utils/deploy-pokedex.js b/code/utils/deploy-pokedex.js index 59ca008..442e4dd 100644 --- a/code/utils/deploy-pokedex.js +++ b/code/utils/deploy-pokedex.js @@ -60,7 +60,8 @@ function parseArgs() { const config = { target: 'internal', port: 8080, - sslPort: null + sslPort: null, + backendPort: 3000 }; for (let i = 0; i < args.length; i++) { @@ -73,6 +74,9 @@ function parseArgs() { } else if (args[i] === '--ssl-port' && args[i + 1]) { config.sslPort = parseInt(args[i + 1], 10); i++; + } else if (args[i] === '--backend-port' && args[i + 1]) { + config.backendPort = parseInt(args[i + 1], 10); + i++; } }