This commit is contained in:
quantulr
2023-11-08 17:19:55 +08:00
parent cecc64f366
commit 73ae2850b6
13 changed files with 42 additions and 40 deletions

View File

@ -4,12 +4,12 @@ const nextConfig = {
return process.env.NODE_ENV === "development"
? [
{
source: "/api/:path*",
destination: "http://101.34.131.16:8086/api/:path*",
source: "/api/uploads/:path*",
destination: "http://101.34.131.16:8086/api/uploads/:path*",
},
{
source: "/admin-api/:path*",
destination: "http://101.34.131.16:8086/admin-api/:path*",
source: "/api/:path*",
destination: "http://101.34.131.16:8086/api/:path*",
},
]
: [];