bootstrap-flask
bootstrap-flask copied to clipboard
Alternative CDN
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
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().
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?
Another one is https://cdnjs.com/libraries/bootstrap
For me alternative CDNs are no longer a wish. @greyli of neither for you, you can close thus issue.