Skip to content

Commit ef2587e

Browse files
author
amazon-meaisiah
committed
Fix broken route
1 parent d260769 commit ef2587e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudformation/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Resources:
149149
- https
150150
paths:
151151
# Version marker - please don't delete
152-
/version/:v3_0_5:
152+
/version/{v3_0_6}:
153153
options:
154154
consumes:
155155
- application/json
@@ -174,7 +174,7 @@ Resources:
174174
responseParameters:
175175
method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
176176
method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'"
177-
method.response.header.Access-Control-Allow-Origin: !If [ 'LocalDevelopmentMode', "'*'", !If [
177+
method.response.header.Access-Control-Allow-Origin: !If [ 'DevelopmentMode', "'*'", !If [
178178
'UseCustomDomainName',
179179
!Join ['', [ "'https://", !Ref CustomDomainName, "'" ]],
180180
!Join ['', [ "'https://", !GetAtt DefaultCloudfrontDistribution.DomainName, "'" ]]

0 commit comments

Comments
 (0)