Skip to content

Commit 18917b6

Browse files
committed
Fix bridge iframe config (#8529)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates references from `/bridge/embed` to `/bridge/widget` in the configuration files, reflecting a change in the iframe page used in the application. ### Detailed summary - Updated `PAYMENT_METHOD_CONFIGURATION` comment in `.env.example` from `/bridge/embed` to `/bridge/widget`. - Changed `source` in `next.config.ts` from `/bridge/embed` to `/bridge/widget`. - Updated `source` path pattern in `next.config.ts` from `/bridge/embed/:path*` to `/bridge/widget/:path*`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated configuration documentation. * **Chores** * Updated internal routing paths in application configuration. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 4191902 commit 18917b6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/dashboard/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ STRIPE_SECRET_KEY=""
6767
GROWTH_PLAN_SKU=""
6868
PAYMENT_METHOD_CONFIGURATION=""
6969

70-
# required for bridge iframe (/bridge/embed) page
70+
# required for bridge iframe (/bridge/widget) page
7171
NEXT_PUBLIC_BRIDGE_IFRAME_CLIENT_ID=""

apps/dashboard/next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const baseNextConfig: NextConfig = {
150150
value: EmbedContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(),
151151
},
152152
],
153-
source: "/bridge/embed",
153+
source: "/bridge/widget",
154154
},
155155
{
156156
headers: [
@@ -159,7 +159,7 @@ const baseNextConfig: NextConfig = {
159159
value: EmbedContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(),
160160
},
161161
],
162-
source: "/bridge/embed/:path*",
162+
source: "/bridge/widget/:path*",
163163
},
164164
];
165165
},

0 commit comments

Comments
 (0)