[HPM] Error occurred while trying to proxy request // from 192.168.1.2:3000 to https://localhost (UNABLE_TO_VERIFY_LEAF_SIGNATURE) (https://nodejs.org/api/errors.html#errors_common_system_errors)
上記のようなエラーが出た場合、nuxt.config.js に "secure": false を追加する。
"proxy": {
"/api": {
"target": "https://localhost",
"pathRewrite": {
"^/api": ""
},
"secure": false
}
},