Get angular-cli to ng serve over HTTPS

后端 未结 9 1502
一整个雨季
一整个雨季 2020-11-28 02:59

The following doesn\'t seem to do anything.

ng serve --ssl true --ssl-key  --ssl-cert 

Creating the

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-28 03:44

    You are correct. The current implementation does not take the ssl configuration options under account. I have created a pull request that fixes this issue. However it has not been merged yet in the master at the time of this writing.

提交回复
热议问题