Skip to content

Commit

Permalink
fix: default websocket port to same as port (again)
Browse files Browse the repository at this point in the history
This time simply copy value, instead of hardcoding the same default value
in another place.
  • Loading branch information
ahwayakchih committed Dec 18, 2020
1 parent 6ef094b commit ac47408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function buildPod () {
echo "Building '$podName' pod..."

local webPort=${CONTAINER_NODEJS_PORT:-8080}
local wsPort=${CONTAINER_WEBSOCKET_PORT:-8080}
local wsPort=${CONTAINER_WEBSOCKET_PORT:-$webPort}

local podOptions="-p $webPort:$webPort"
if [ "$webPort" != "$wsPort" ] ; then
Expand Down

0 comments on commit ac47408

Please sign in to comment.