Skip to content

Commit e9a88f0

Browse files
authored
Fixed links to CSP directives (#13324)
1 parent 4b358c3 commit e9a88f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const exported = {
228228
* This is useful if your site needs to operate in a strict CSP (Content Security Policy) environment
229229
* wherein you are not allowed to load JavaScript code from a [`Blob` URL](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL), which is default behavior.
230230
*
231-
* See our documentation on [CSP Directives](https://docs.mapbox.com/mapbox-gl-js/api/#csp-directives) for more details.
231+
* See our documentation on [CSP Directives](https://docs.mapbox.com/mapbox-gl-js/guides/browsers/#csp-directives) for more details.
232232
*
233233
* @var {string} workerUrl
234234
* @returns {string} A URL hosting a JavaScript bundle for mapbox-gl's WebWorker.
@@ -283,7 +283,7 @@ const exported = {
283283
* This is useful if your site needs to operate in a strict CSP (Content Security Policy) environment
284284
* wherein you are not allowed to load JavaScript code from a [`Blob` URL](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL), which is default behavior.
285285
*
286-
* See our documentation on [CSP Directives](https://docs.mapbox.com/mapbox-gl-js/api/#csp-directives) for more details.
286+
* See our documentation on [CSP Directives](https://docs.mapbox.com/mapbox-gl-js/guides/browsers/#csp-directives) for more details.
287287
*
288288
* @var {string} dracoUrl
289289
* @returns {string} A URL hosting Google Draco decoding library (`draco_wasm_wrapper_gltf.js` and `draco_decoder_gltf.wasm`).

0 commit comments

Comments
 (0)