update
This commit is contained in:
@ -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*",
|
||||
},
|
||||
]
|
||||
: [];
|
||||
|
Reference in New Issue
Block a user