npm http-server with SSL

前端 未结 4 1938
忘掉有多难
忘掉有多难 2021-01-29 19:44

I\'m using the npm package \"http-server\" (https://www.npmjs.com/package/http-server) to set up a simple webserver, but I cannot get it to use SSL. My command in package.json i

4条回答
  •  你的背包
    2021-01-29 20:32

    Just for future reference, my problem was solved by updating the package to the latest version in package.json. I copy-pasted an old example file without updating the version numbers.

提交回复
热议问题