Skip to content
This repository was archived by the owner on Feb 20, 2023. It is now read-only.

Commit 4661b84

Browse files
committed
Forward origin header to allow cors support
1 parent 48887ae commit 4661b84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/responseHelper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const allowedRequestHeaders = [
3131
'access-control-allow-methods',
3232
'access-control-allow-origin',
3333
'access-control-expose-headers',
34+
'origin',
3435
];
3536

3637
const headersToLambda = headers => {

0 commit comments

Comments
 (0)