用vercel做反向代理

{
    "rewrites": [
      { "source": "/api/(.*)", "destination": "https://myjsapi.gwozai.com/$1" }
    ]
}

可以参考我的vercel vuetest/vercel.json at main · gwozai/vuetest (github.com)