diff --git a/web/next.config.js b/web/next.config.js index 1cb49a40d76..574d16c17f1 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -69,6 +69,10 @@ const nextConfig = { const ADMIN_BASE_URL = process.env.NEXT_PUBLIC_ADMIN_BASE_URL || "" const ADMIN_BASE_PATH = process.env.NEXT_PUBLIC_ADMIN_BASE_PATH || "" const GOD_MODE_BASE_URL = ADMIN_BASE_URL + ADMIN_BASE_PATH + rewrites.push({ + source: "/god-mode", + destination: `${GOD_MODE_BASE_URL}/`, + }) rewrites.push({ source: "/god-mode/:path*", destination: `${GOD_MODE_BASE_URL}/:path*`,