From 2214689920f1531a6701171d77cc33c342d35f83 Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Fri, 30 Aug 2024 23:51:03 +0800 Subject: [PATCH] add gapier proxy --- next.config.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 27c60dd29..6b1dd0c35 100644 --- a/next.config.mjs +++ b/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*",