Skip to content

Commit e2002ab

Browse files
Merge pull request #18 from ForeverYoung1208/fix/current-fix
Fix/current fix
2 parents 8b0159c + d66c403 commit e2002ab

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

infra/lib/infra-stack.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ export class InfraStack extends cdk.Stack {
359359
httpPort: 3000,
360360
protocolPolicy: cloudfront.OriginProtocolPolicy.HTTP_ONLY,
361361
}),
362+
originRequestPolicy: cloudfront.OriginRequestPolicy.ALL_VIEWER,
362363
viewerProtocolPolicy:
363364
cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
364365
allowedMethods: cloudfront.AllowedMethods.ALLOW_ALL,

infra/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "infra",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"bin": {
55
"infra": "bin/infra.js"
66
},

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionicapp",
3-
"version": "0.0.8",
3+
"version": "0.1.0",
44
"description": "",
55
"author": "",
66
"private": true,

0 commit comments

Comments
 (0)