Skip to content

Running into issues with content security policy #2027

Answered by tmoleary21
tmoleary21 asked this question in Q&A
Discussion options

You must be logged in to vote

The mapboxgl.supported function creates a worker from a blob URL to check worker support, regardless of whether you are using the CSP compliant alternatives. mapboxgl.supported = () => true will remove the violations.

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@Pessimistress
Comment options

@tmoleary21
Comment options

@tmoleary21
Comment options

@tmoleary21
Comment options

@tmoleary21
Comment options

Comment options

You must be logged in to vote
1 reply
@Pessimistress
Comment options

Answer selected by tmoleary21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants