Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting HTTPS #30

Open
Chowarmaan opened this issue Sep 9, 2015 · 0 comments
Open

Add support for setting HTTPS #30

Chowarmaan opened this issue Sep 9, 2015 · 0 comments

Comments

@Chowarmaan
Copy link

Most of the Google CDNs now have the ability to set the link using HTTPS. When the bower_components are converted, it would be nice to have an option to use HTTPS if supported, or to set it on the CDN as a flag.

Source

<script src="bower_components/angular/angular.js"></script>

becomes:

<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>

However, Google supports

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js"></script>

Either test the URL to see if https is valid for the script, or add a flag to allow this. I know on my own urls, I could do this by returning the HTTPS, but it would be nice to use the default CDNs so as to not have to keep the versions up to date etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant