简体   繁体   中英

bower to use http instead of https

Is there a way to force bower install to use http instead of https? I was able to resolve this in npm by npm config set strict-ssl false . I'd like to know if there is a bower command that I can run to disable ssl. THanks.

Add or edit either your user or project specific .bowerrc file and add the following configuration.

{
  "strict-ssl": false
}

This works exactly like strict-ssl false in the npm config file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM