This plugin allows users to create location inputs and store latitude and longitude values as geometry types in a PostGIS database. It also provides functionality to filter items based on their location.
MIT License
24
stars
13
forks
source link
Map tiles do not load due to Content Security Policy #55
Bug report
Describe the bug
When trying to view the map the OpenStreetMap tiles do not load due to being blocked by strapi's default Content Security Policy.
Steps to reproduce the behavior
Expected behavior
Tiles are shown
Screenshots
N/A
Code snippets
The
config/middlewares.ts
needs to be adjusted to allow the browser to load the tiles from an external source. This configuration works for me:System
Additional context
N/A