osrm-frontend icon indicating copy to clipboard operation
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

Open chesty opened this issue 6 years ago • 1 comments

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

chesty avatar Jun 22 '18 04:06 chesty

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

EricsonK avatar Feb 20 '19 19:02 EricsonK