File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
storage/framework/core/cloud/src/cloud Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export class DeploymentStack {
20
20
// following paths are relative to where the command is run from
21
21
this . privateSource = '../../private'
22
22
this . docsSource = '../docs/dist/'
23
- this . websiteSource = config . app . docMode === true ? this . docsSource : '../views/dist/'
23
+ this . websiteSource = config . app . docMode === true ? this . docsSource : '../views/web/ dist/'
24
24
25
25
new s3deploy . BucketDeployment ( scope , 'Website' , {
26
26
sources : [
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export class Cloud extends Stack {
92
92
// we use an async init() method here because we need to wait for the
93
93
94
94
async init ( ) {
95
- if ( config . api ?. deploy ) {
95
+ if ( config . cloud . api ?. deploy ) {
96
96
const props = this . props
97
97
this . api = new ComputeStack ( this , {
98
98
...props ,
Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ export class SecurityStack {
69
69
name : 'CountryRule' ,
70
70
priority : priorities . length ,
71
71
statement : {
72
- // geoMatchStatement: {
73
- // countryCodes: config.security.firewall.countryCodes,
74
- // },
72
+ geoMatchStatement : {
73
+ countryCodes : config . security . firewall . countryCodes as string [ ] ,
74
+ } ,
75
75
} ,
76
76
action : {
77
77
block : { } ,
@@ -130,7 +130,7 @@ export class SecurityStack {
130
130
searchString : 'true' ,
131
131
textTransformations : [
132
132
{
133
- priority : index ,
133
+ priority : 0 ,
134
134
type : 'NONE' ,
135
135
} ,
136
136
] ,
You can’t perform that action at this time.
0 commit comments