You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @DavidTimms, thanks for sharing this. I deployed this behind haproxy in a docker container and used the OPENSHIFT_INTERNAL_PORT to choose my own port.
So I have the backend port using 3000 but in the front end it's just being served over 443. So instead of changing client.js to match the frontend port; could we change it to use window.location.port?
The text was updated successfully, but these errors were encountered:
Hi @DavidTimms, thanks for sharing this. I deployed this behind haproxy in a docker container and used the OPENSHIFT_INTERNAL_PORT to choose my own port.
docker run -d -e OPENSHIFT_INTERNAL_PORT=3000 --expose 3000 -p --workdir /app -v $PWD:/app node node /app/server.js
So I have the backend port using 3000 but in the front end it's just being served over 443. So instead of changing client.js to match the frontend port; could we change it to use window.location.port?
The text was updated successfully, but these errors were encountered: