mapbox / mapbox-gl-rtl-text

Add right-to-left text support to Mapbox GL JS
Other
53 stars 20 forks source link

can not load plugin from local storage #23

Closed kavehcs closed 4 years ago

kavehcs commented 4 years ago

Refused to execute script from 'http://127.0.0.1:8000/static/mapbox/mapbox-gl-rtl-text.js' because its MIME type ('text/plain') is not executable. Capture Capture01

asheemmamoowala commented 4 years ago

@kavehcs This seems like an issue with the MIME type used to serve the plugin from your local static server. Feel free to reopen with a reproducible case if this happen seven with the hosted plugin at https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js