diff --git a/apps/cm/next.config.ts b/apps/cm/next.config.ts index 679528324..b388b76d9 100644 --- a/apps/cm/next.config.ts +++ b/apps/cm/next.config.ts @@ -3,10 +3,22 @@ import type { NextConfig } from "next"; const subDomain = process.env.NEXT_PUBLIC_SUB_DOMAIN || "http://localhost:13000"; -const backendUrl = process.env.NEXT_PUBLIC_SERVER_API_URL || "http://192.168.0.102:8000"; - const nextConfig: NextConfig = { output: "standalone", + experimental: { + proxyTimeout: 600000, + }, + eslint: { + ignoreDuringBuilds: true, + }, + typescript: { + ignoreBuildErrors: true, + }, + logging: { + fetches: { + fullUrl: true, + }, + }, async rewrites() { return { beforeFiles: [ @@ -27,10 +39,6 @@ const nextConfig: NextConfig = { source: "/cms/:path*", destination: `${subDomain}/cms/:path*`, }, - { - source: "/user-service/:path*", - destination: `${backendUrl}/user-service/:path*`, - }, ], fallback: [], }; diff --git a/apps/cs/next.config.ts b/apps/cs/next.config.ts index d75960377..61d7f72cc 100644 --- a/apps/cs/next.config.ts +++ b/apps/cs/next.config.ts @@ -5,6 +5,20 @@ const subDomain = const nextConfig: NextConfig = { output: "standalone", + experimental: { + proxyTimeout: 600000, + }, + eslint: { + ignoreDuringBuilds: true, + }, + typescript: { + ignoreBuildErrors: true, + }, + logging: { + fetches: { + fullUrl: true, + }, + }, async headers() { return [ { diff --git a/packages/common/components/src/api/menu.ts b/packages/common/components/src/api/menu.ts index ce6465b84..b4d84c95e 100644 --- a/packages/common/components/src/api/menu.ts +++ b/packages/common/components/src/api/menu.ts @@ -49,7 +49,7 @@ export const getAnonymouseMenuList = async ( siteId: string, ): Promise => { const response = await fetch( - `${BASE_URL}/${ENDPOINT.CMS_SERVICE.MENU_ANONYMOUS}/user/${siteId}`, + `${BASE_URL}${ENDPOINT.CMS_SERVICE.MENU_ANONYMOUS}/user/${siteId}`, { method: "GET", headers: {