forked from XiaoMo/ChatGPT-Next-Web
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