Skip to content

Commit fb615e1

Browse files
committed
fix cfn
1 parent bc19c1c commit fb615e1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

cloudformation/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,12 @@ Resources:
151151
Properties:
152152
AuthType: NONE
153153
Cors:
154-
AllowHeaders: "'Content-Type,Authorization,X-Amz-Date'"
155-
AllowOrigin: "'*'"
156-
MaxAge: "'300'"
154+
AllowHeaders:
155+
- Content-Type
156+
- Authorization
157+
- X-Amz-Date
158+
AllowOrigins: ["*"]
159+
MaxAge: 300
157160
InvokeMode: BUFFERED
158161
TargetFunctionArn: !GetAtt AppApiLambdaFunction.Arn
159162

0 commit comments

Comments
 (0)