Skip to content

Commit 890671d

Browse files
committed
chore: wip
1 parent 45d381d commit 890671d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

storage/framework/core/cloud/src/cloud/deployment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class DeploymentStack {
2020
// following paths are relative to where the command is run from
2121
this.privateSource = '../../private'
2222
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/'
2424

2525
new s3deploy.BucketDeployment(scope, 'Website', {
2626
sources: [

storage/framework/core/cloud/src/cloud/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class Cloud extends Stack {
9292
// we use an async init() method here because we need to wait for the
9393

9494
async init() {
95-
if (config.api?.deploy) {
95+
if (config.cloud.api?.deploy) {
9696
const props = this.props
9797
this.api = new ComputeStack(this, {
9898
...props,

storage/framework/core/cloud/src/cloud/security.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ export class SecurityStack {
6969
name: 'CountryRule',
7070
priority: priorities.length,
7171
statement: {
72-
// geoMatchStatement: {
73-
// countryCodes: config.security.firewall.countryCodes,
74-
// },
72+
geoMatchStatement: {
73+
countryCodes: config.security.firewall.countryCodes as string[],
74+
},
7575
},
7676
action: {
7777
block: {},
@@ -130,7 +130,7 @@ export class SecurityStack {
130130
searchString: 'true',
131131
textTransformations: [
132132
{
133-
priority: index,
133+
priority: 0,
134134
type: 'NONE',
135135
},
136136
],

0 commit comments

Comments
 (0)