osrm-frontend
osrm-frontend copied to clipboard
in docker environment livereload on the browser tries to connect to the internal docker ip address of the frontend container
I'm using both of the official osrm-frontend and osrm-backend docker containers, after loading the frontend in a browser everything works well except the browser tries to connects to the internal ip address of the frontend server.
I guess we need a way to configure livereload to supply the external ip address?
https://github.com/Project-OSRM/osrm-backend/issues/5119
To prevent the loading of livereload.js on production server...
Open the package.json file,
Edit the line,
"start-index": "budo src/index.js --serve=bundle.js --live -d | bistre",
To,
"start-index": "budo src/index.js --serve=bundle.js -d | bistre",
Removing the --live flag prevent loading of livereload.js
For reference, Budo Github