JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

nuxt 项目 certificate has expired 或 nuxt unable to verify the first certificate

发布时间 2023-09-21 16:58:21作者: 慕城蓝就

plugins/axios.js

const https = require('https')

export default function ({ $axios}){
   $axios.create({
       httpsAgent: new https.Agent({
           rejectUnauthorized: false
        })
   })
}

  

    本栏目推荐文章
  • 基于VueCli自定义创建项目
  • IDEA项目名称后面出现中括号,模块Modules的名子和文件夹名称不同,可以右键修改名称也可以在File->Project Structure 修改Modules的Name(快捷键ctrl+Shift+Alt+s)
  • 去年最火的 JS 开源项目「GitHub 热点速览」
  • 用jacoco统计JAVA项目测试代码覆盖率
  • vscode错误:Unable to connect to VS Code server: Error in request.
  • 分享uniapp移动端和h5项目如何使用谷歌地图
  • Pycharm项目文件变黄
  • java项目(jar包)配置为开机自启 jar包bat脚本启动和配置为开机自启
  • fish和pacman:“error: Unable to read input file: 是一个目录”报错的处理
  • web项目启动时dubbo报错: No provider available for the service com.davidhu.shopguide.api.service.UserEventService from the url zookeeper ://localhost:2181/org.apache.du
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们