Skip to content

Commit 30dfb08

Browse files
committed
fix: merge app cookie config into route cookie validator config
1 parent 169e54a commit 30dfb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ export const composeHandler = ({
16141614
// ! Get latest app.config.cookie
16151615
validator.cookie.config = mergeCookie(
16161616
validator.cookie.config,
1617-
validator.cookie?.config ?? {}
1617+
app.config.cookie ?? {}
16181618
)
16191619

16201620
fnLiteral +=

0 commit comments

Comments
 (0)