Skip to content

Commit e0303e7

Browse files
danielroeWinterYukky
authored andcommitted
fix(aws-lambda): join cookies with semicolon (nitrojs#356)
1 parent 8390f4e commit e0303e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/entries/aws-lambda.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const handler = async function handler (event: Event, context: Context):
1212
const method = (event as APIGatewayProxyEvent).httpMethod || (event as APIGatewayProxyEventV2).requestContext?.http?.method || 'get'
1313

1414
if ('cookies' in event && event.cookies) {
15-
event.headers.cookie = event.cookies.join(',')
15+
event.headers.cookie = event.cookies.join(';')
1616
}
1717

1818
const r = await nitroApp.localCall({

0 commit comments

Comments
 (0)