-
Notifications
You must be signed in to change notification settings - Fork 0
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
[OPS-9699] Remove mapbox token from mabox responses #662
Conversation
Build outputComposer Validate
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've checked it on unocha.org dev and the proxy_set_header Accept-Encoding "";
is obviously what I was missing. The replace rule then works, but the links to the tile servers do not get re-rewritten, as they're not proxied, so the library is unable to download tiles: {"message":"Not Authorized - Invalid Token"}
@cafuego Where do you see this From my tests, all the tiles load properly. The token substitution is done in the response of
But those URLs are not called. The tiles requests are like Zooming or scrolling loads new tiles with the |
Huh, not called? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging, since the tile server URLs that get rewritten appear to not actually get used.
Refs: OPS-9699
This substitutes the mapbox token in the proxied mapbox responses.
Tests
/disasters
mapbox
access_token=token
)