Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add $OMT_HOST support to make start-postserve #955

Closed
zstadler opened this issue Jul 28, 2020 · 0 comments · Fixed by #956
Closed

Add $OMT_HOST support to make start-postserve #955

zstadler opened this issue Jul 28, 2020 · 0 comments · Fixed by #956

Comments

@zstadler
Copy link
Contributor

When $OMT_HOST is not localhost, say 192.168.99.101, the json file served by make start-postserve at http://192.168.99.101:8090 has

"tiles": ["http://localhost:8090/tiles/{z}/{x}/{y}.pbf"]

rather than

"tiles": ["http://192.168.99.101:8090/tiles/{z}/{x}/{y}.pbf"]

In such an environment, make start-maputnik prints following instructions:

***********************************************************
*
* Start maputnik/editor
*       ---> go to http://192.168.99.101:8088
*       ---> set data source / TileJSON URL to http://192.168.99.101:8090
*
***********************************************************

However, maputnik cannot find the tiles using the localhost address included in the TileJSON URL - http://localhost:8090/tiles/{z}/{x}/{y}.pbf

zstadler added a commit to zstadler/openmaptiles that referenced this issue Jul 28, 2020
TomPohys pushed a commit that referenced this issue Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant