Skip to content

Commit

Permalink
fix: ah
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Jul 23, 2023
1 parent e86222f commit 4c46b05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/trpc/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export async function createContext(_event: H3Event) {
const config: SessionConfig = {
name: useRuntimeConfig().sessionName,
password: useRuntimeConfig().sessionSecret,
maxAge: 60 * 60 * 24 * 31,
}

const session = await useSession(_event, config)
Expand Down

0 comments on commit 4c46b05

Please sign in to comment.