【发布时间】:2018-09-27 14:39:41
【问题描述】:
我想通过 SSL 为我的应用程序提供服务,之前我有这个脚本:
ng serve --ssl --ssl-key "pathtokey\key.crt"
我想在新的 angular.json 中添加 SSL,但是当我尝试添加它时出现错误:
Schema validation failed with the following errors:
Data path "" should NOT have additional properties(ssl).
在 Angular cli 6 中使用 SSL 的正确方法是什么?
【问题讨论】:
-
此示例模式 json 可能会对您有所帮助。 github.com/angular/angular-cli/blob/v6.0.0-rc.8/packages/…
标签: angular typescript angular-cli angular6