Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Nov 14, 2024
1 parent 7633e27 commit 5d58645
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/runtime/server/utils/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ function _useSession(event: H3Event, config: Partial<SessionConfig> = {}) {
const runtimeConfig = useRuntimeConfig(event)
const envSessionPassword = `${runtimeConfig.nitro?.envPrefix || 'NUXT_'}SESSION_PASSWORD`

// @ts-expect-error hard to define with defu
sessionConfig = defu({ password: process.env[envSessionPassword] }, runtimeConfig.session)
}
const finalConfig = defu(config, sessionConfig) as SessionConfig
Expand Down

0 comments on commit 5d58645

Please sign in to comment.