Add standalone run.sh and configure localhost

This commit is contained in:
Norbert Renner 2019-12-30 20:52:55 +01:00
parent 5cc99949fd
commit 12c58b70fa
4 changed files with 24 additions and 3 deletions

View file

@ -20,13 +20,13 @@
} else {
// desktop configuration
BR.conf.host = 'http://0.0.0.0:17777';
BR.conf.host = 'http://localhost:17777';
// Pre-loading selected profile disabled locally. Needs brouter-web to run on a
// local web server with the profiles in a subdirectory or allowing file access
// in the Browser (security!), see
// https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally
//BR.conf.profilesUrl = 'http://localhost:8000/profiles2/';
BR.conf.profilesUrl = 'http://localhost:8000/profiles2/';
//BR.conf.profilesUrl = 'file://YOUR_PATH_TO/profiles2/';
}