DavidTimms / DavidTimms/ChatSafe
Port hardcoded to 8000 & JQuery served over http
Open
- Dominant language
- JavaScript
- Stars
- 31
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.