Skip to content

Commit e6fdd27

Browse files
authored
Mentions CDN integrity and crossorigin attributes in Intro docs page (#41515)
1 parent 13aa16a commit e6fdd27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/src/content/docs/getting-started/introduction.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ As reference, here are our primary CDN links.
7070

7171
You can also use the CDN to fetch any of our [additional builds listed in the Contents page]([[docsref:/getting-started/contents]]).
7272

73+
When using CDN links, be sure to use the `integrity` attribute to verify the correct files and versions. These hashes are unique to each file and version of Bootstrap, so when you update to a new version, be sure the `integrity` attribute is also updated.
74+
75+
We also include a `crossorigin="anonymous"` attribute to prevent [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) errors.
76+
7377
## Next steps
7478

7579
- Read a bit more about some [important global environment settings](#important-globals) that Bootstrap utilizes.

0 commit comments

Comments
 (0)