nuxt 项目 certificate has expired 或 nuxt unable to verify the first certificate
plugins/axios.js
const https = require('https') export default function ({ $axios}){ $axios.create({ httpsAgent: new https.Agent({ rejectUnauthorized: false }) }) }
plugins/axios.js
const https = require('https') export default function ({ $axios}){ $axios.create({ httpsAgent: new https.Agent({ rejectUnauthorized: false }) }) }