bootstrap-flask icon indicating copy to clipboard operation
bootstrap-flask copied to clipboard

Alternative CDN

Open PanderMusubi opened this issue 5 years ago • 4 comments

If this CDN is better or preferred, please use that one https://www.bootstrapcdn.com/

Alternatively, offer functionality and documentation so that the user can easily configure to use an alternative CDN

PanderMusubi avatar Jul 17 '20 12:07 PanderMusubi

I can't figure out a proper way to let the user change the CDN provider arbitrarily since different CDN provider has different URL pattern, and the extension need to set library version based on the URL.

The only way is to support some fixed options, I will try to implement this in the next major version.

For now, you can simply use the desired resource manually with <link> or <script> instead of use bootstrap.load_css() and bootstrap.load_js().

greyli avatar Jul 26 '20 09:07 greyli

Good to keep it only to a few CDNs. Are there any other well-know or often-used CDNs that need supporting other than the one listed above?

PanderMusubi avatar Jul 30 '20 09:07 PanderMusubi

Another one is https://cdnjs.com/libraries/bootstrap

PanderMusubi avatar May 03 '22 18:05 PanderMusubi

For me alternative CDNs are no longer a wish. @greyli of neither for you, you can close thus issue.

PanderMusubi avatar Aug 22 '23 07:08 PanderMusubi