Skip to content

Commit

Permalink
docs(fix): use correct process env variable for baseUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
felixranesberger authored Nov 5, 2024
1 parent a4b2b2e commit eda0e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/advanced/deployment/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This variable is avalible at both build and run-time. Therefore you can referenc
export default defineNuxtConfig({
modules: ['@sidebase/nuxt-auth'],
auth: {
baseURL: process.env.VERCEL_URL ? `https://${VERCEL_URL}/api/auth` : undefined
baseURL: process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}/api/auth` : undefined
}
})
```
Expand Down

0 comments on commit eda0e40

Please sign in to comment.