Pārlūkot izejas kodu

add gapier proxy

lloydzhou 1 gadu atpakaļ
vecāks
revīzija
2214689920
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      next.config.mjs

+ 4 - 0
next.config.mjs

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