mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 12:10:17 +09:00
parent
1d6ee64e1d
commit
05b6d989b6
@ -64,7 +64,7 @@ if (mode !== "export") {
|
|||||||
|
|
||||||
nextConfig.rewrites = async () => {
|
nextConfig.rewrites = async () => {
|
||||||
const ret = [
|
const ret = [
|
||||||
// adjust for previous verison directly using "/api/proxy/" as proxy base route
|
// adjust for previous version directly using "/api/proxy/" as proxy base route
|
||||||
{
|
{
|
||||||
source: "/api/proxy/v1/:path*",
|
source: "/api/proxy/v1/:path*",
|
||||||
destination: "https://api.openai.com/v1/:path*",
|
destination: "https://api.openai.com/v1/:path*",
|
||||||
|
Loading…
Reference in New Issue
Block a user