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++; } }