javascript - Here maps and restrictions to specific domains -


i subscribed free plan here maps.

i created application, have got app_code , app_id.

i tried restrict theses credentials domain :

  • my-app.my-internal-domain.com (that use javascript api)
  • xxxxxx.cloudfront.net (that generate tiles , cache them)

if try configure wrong domains on here maps :

  • i can see 401 error when try generate tile, so, it's works.
  • but can navigate on map, shouldn't, right ?

what problem ?

the tiles cached on client side well. try clearing browser cache , check if still map shown ? able see request being sent behind scenes using developer tools, being served server or client cache ?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -