瀏覽代碼

add gapier proxy

lloydzhou 1 年之前
父節點
當前提交
2214689920
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      next.config.mjs

+ 4 - 0
next.config.mjs

@@ -86,6 +86,10 @@ if (mode !== "export") {
         source: "/api/proxy/anthropic/:path*",
         source: "/api/proxy/anthropic/:path*",
         destination: "https://api.anthropic.com/:path*",
         destination: "https://api.anthropic.com/:path*",
       },
       },
+      {
+        source: "/api/proxy/gapier/:path*",
+        destination: "https://a.gapier.com/:path*",
+      },
       {
       {
         source: "/google-fonts/:path*",
         source: "/google-fonts/:path*",
         destination: "https://fonts.googleapis.com/:path*",
         destination: "https://fonts.googleapis.com/:path*",