Skip to content

Commit

Permalink
chore(example): disable env var inference
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 committed May 11, 2024
1 parent 3c87bef commit 4577455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/examples/nextjs/auth.ts
Expand Up @@ -37,9 +37,9 @@ import type { NextAuthConfig } from "next-auth"
const storage = createStorage({
driver: process.env.VERCEL
? vercelKVDriver({
// @ts-expect-error
url: process.env.AUTH_KV_REST_API_URL,
token: process.env.AUTH_KV_REST_API_TOKEN,
env: false,
})
: fsDriver({ base: "./tmp-unstorage" }),
})
Expand Down

0 comments on commit 4577455

Please sign in to comment.