问题描述
我正在通过命令行运行实时服务器:
live-server --port=8282 --host=192.168.1.231 --https=/home/.nvm/versions/node/v14.8.0/lib/node_modules/live-server-https --entry-file=/index.html
我想添加自己的证书,如下例所示:
{
"liveServer.settings.https": {
"enable": true,//set it true to enable the feature.
"cert": "D:\\https\\primary.crt",//full path of the certificate
"key": "D:\\https\\private.key",//full path of the private key
"passphrase": "12345"
}
}
.live-server.json或cmd行参数中的正确格式是什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)