1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +02:00

Mentions CDN integrity and crossorigin attributes in Intro docs page (#41515)

This commit is contained in:
Mark Otto
2025-06-03 14:53:40 -07:00
committed by GitHub
parent 13aa16a99b
commit e6fdd27b73

View File

@@ -70,6 +70,10 @@ As reference, here are our primary CDN links.
You can also use the CDN to fetch any of our [additional builds listed in the Contents page]([[docsref:/getting-started/contents]]). You can also use the CDN to fetch any of our [additional builds listed in the Contents page]([[docsref:/getting-started/contents]]).
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.
We also include a `crossorigin="anonymous"` attribute to prevent [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) errors.
## Next steps ## Next steps
- Read a bit more about some [important global environment settings](#important-globals) that Bootstrap utilizes. - Read a bit more about some [important global environment settings](#important-globals) that Bootstrap utilizes.