Skip to content

Commit 6e3342c

Browse files
Update Next.js example proxy url to include trailing slash like the hint in the dashboard
1 parent 7107f7b commit 6e3342c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced-usage/using-proxies.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ When using a proxy, all requests to the Frontend API will be made through your d
208208
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY={{pub_key}}
209209
CLERK_SECRET_KEY={{secret}}
210210
211-
NEXT_PUBLIC_CLERK_PROXY_URL=https://app.dev/__clerk
211+
NEXT_PUBLIC_CLERK_PROXY_URL=https://app.dev/__clerk/
212212
```
213213
</Tab>
214214

@@ -244,7 +244,7 @@ When using a proxy, all requests to the Frontend API will be made through your d
244244

245245
export default function RootLayout({ children }: { children: React.ReactNode }) {
246246
return (
247-
<ClerkProvider proxyUrl="https://app.dev/__clerk">
247+
<ClerkProvider proxyUrl="https://app.dev/__clerk/">
248248
<html lang="en">
249249
<body>{children}</body>
250250
</html>

0 commit comments

Comments
 (0)