diff --git a/next.config.ts b/next.config.ts index 745c555..8f50731 100644 --- a/next.config.ts +++ b/next.config.ts @@ -7,14 +7,7 @@ const nextConfig: NextConfig = { allowedOrigins: ["dev.demoplace.my.id", "www.dev.demoplace.my.id", "fe0.dev.backone.cloud", "www.fe0.dev.backone.cloud"], }, }, - async rewrites() { - return [ - { - source: '/api/:path*', - destination: `${process.env.NEXT_PUBLIC_API_URL || 'http://127.0.0.1:3011'}/api/:path*`, - }, - ]; - }, + }; export default nextConfig;