diff --git a/apps/dashboard/.env.example b/apps/dashboard/.env.example index 332a4d88662..918d54845d4 100644 --- a/apps/dashboard/.env.example +++ b/apps/dashboard/.env.example @@ -67,5 +67,5 @@ STRIPE_SECRET_KEY="" GROWTH_PLAN_SKU="" PAYMENT_METHOD_CONFIGURATION="" -# required for bridge iframe (/bridge/embed) page +# required for bridge iframe (/bridge/widget) page NEXT_PUBLIC_BRIDGE_IFRAME_CLIENT_ID="" \ No newline at end of file diff --git a/apps/dashboard/next.config.ts b/apps/dashboard/next.config.ts index 2940a200b99..80839a2cd74 100644 --- a/apps/dashboard/next.config.ts +++ b/apps/dashboard/next.config.ts @@ -150,7 +150,7 @@ const baseNextConfig: NextConfig = { value: EmbedContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(), }, ], - source: "/bridge/embed", + source: "/bridge/widget", }, { headers: [ @@ -159,7 +159,7 @@ const baseNextConfig: NextConfig = { value: EmbedContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(), }, ], - source: "/bridge/embed/:path*", + source: "/bridge/widget/:path*", }, ]; },