Skip to content

Commit 448eba2

Browse files
authored
Merge pull request #1306 from rocket-admin/backend_ai_fixes
fix: set cookie path for session cookie in bootstrap function
2 parents 120e353 + d9b7744 commit 448eba2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

backend/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ async function bootstrap() {
5555
domain: cookieDomain,
5656
maxAge: 2 * 60 * 60 * 1000,
5757
httpOnly: true,
58+
path: '/',
5859
},
5960
name: 'rocketadmin.sid',
6061
}),

0 commit comments

Comments
 (0)