vscode中的live-server配置https?

json文件中使用绝对路径添加证书

"liveServer.settings.https": {
"enable": true,
"cert": "/Users/kivisense/Documents/ssl/kivicube.cert.pem",
"key": "/Users/kivisense/Documents/ssl/kivicube.key.pem",
"passphrase": ""
}
posted @ 2019-07-25 11:13  以身为驴  阅读(4550)  评论(0编辑  收藏  举报