Skip to content

Commit 47e6192

Browse files
docs(fix): use correct process env variable for baseUrl (#940)
1 parent a4b2b2e commit 47e6192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/advanced/deployment/vercel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This variable is avalible at both build and run-time. Therefore you can referenc
1212
export default defineNuxtConfig({
1313
modules: ['@sidebase/nuxt-auth'],
1414
auth: {
15-
baseURL: process.env.VERCEL_URL ? `https://${VERCEL_URL}/api/auth` : undefined
15+
baseURL: process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}/api/auth` : undefined
1616
}
1717
})
1818
```

0 commit comments

Comments
 (0)