From 2c430edf18aa4f335e316662a53958b4bfb916e4 Mon Sep 17 00:00:00 2001 From: aries_ckt <916701291@qq.com> Date: Sun, 5 Jul 2026 00:02:17 +0800 Subject: [PATCH] feat:knowledge base support agentic search --- web/next.config.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/web/next.config.js b/web/next.config.js index 0ec3853be..a92422434 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -9,16 +9,8 @@ const nextConfig = { typescript: { ignoreBuildErrors: true, }, - async rewrites() { - return [ - { - source: '/api/v1/:path*', - destination: 'http://127.0.0.1:5670/api/v1/:path*', - }, - ]; - }, env: { - API_BASE_URL: "http://127.0.0.1:5670", + API_BASE_URL: process.env.API_BASE_URL, GITHUB_CLIENT_ID: process.env.GITHUB_CLIENT_ID, GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID, GET_USER_URL: process.env.GET_USER_URL,