Skip to content

Commit

Permalink
Fix warning callout
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Sep 11, 2023
1 parent 8336ada commit 813a69a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions site/content/docs/5.3/getting-started/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ If you're using our compiled JavaScript and prefer to include Popper separately,
```

{{< callout warning >}}
**Heads up!** We use and advise to use [jsDelivr](https://www.jsdelivr.com/) in our documentation. However, in some cases, like in some specific countries or environments, you might need to use other CDN providers, such as [unpkg](https://unpkg.com/).
**Heads up!** We use and advise to use [jsDelivr](https://www.jsdelivr.com/) in our documentation. However, in some cases, like in some specific countries or environments, you might need to use other CDN providers, such as [cdnjs](https://cdnjs.com/) or [unpkg](https://unpkg.com/).

In this case, you can replace `https://cdn.jsdelivr.net/npm/` with `https://unpkg.com/`.
You'll find the same files on these CDN providers, albeit with different URLs.

While changing the URLs, you'll also need to update the `integrity` attribute. Tools like [SRI Hash Generator](https://www.srihash.org/) can help you generate the correct values.

Easier, this [cdnjs Bootstrap direct link](https://cdnjs.com/libraries/bootstrap) provides a ready-to-use HTML snippet for each version of Bootstrap where you can just copy and paste the script tag.
{{< /callout >}}

## Package managers
Expand Down

0 comments on commit 813a69a

Please sign in to comment.