]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Mentions CDN integrity and crossorigin attributes in Intro docs page (#41515)
authorMark Otto <markd.otto@gmail.com>
Tue, 3 Jun 2025 21:53:40 +0000 (14:53 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Jun 2025 21:53:40 +0000 (14:53 -0700)
site/src/content/docs/getting-started/introduction.mdx

index 4c621d83e0af0a7be6cecf823aa3c3baf2915d1e..dc2c2d71a72c641fb99d2dfd49af6b5638105f76 100644 (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]]).
 
+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
 
 - Read a bit more about some [important global environment settings](#important-globals) that Bootstrap utilizes.