maplibre / maputnik

An open source visual editor for the 'MapLibre Style Specification'

Home Page:https://www.maplibre.org/maputnik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable CORS error for localhost

louwers opened this issue · comments

When trying to add a source with http, you always see this message:

Error: CORS policy won't allow fetching resources served over http from https, use a https:// domain

However this is even the case for http://localhost, even though CORS does not apply to localhost (I never had any problems at least). This error should not be shown when the host is localhost.

image