We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 078fe16 commit 263860aCopy full SHA for 263860a
packages/static-hosting/lib/static-hosting.ts
@@ -594,11 +594,15 @@ export class StaticHosting extends Construct {
594
}
595
);
596
597
- const responseFunction = new ResponseFunction(this, `CSPFunction-${path}`, {
598
- bucket: `${props.subDomainName}.${props.domainName}`,
599
- reportUri: reportUri,
600
- fallbackCsp: fallbackCsp,
601
- });
+ const responseFunction = new ResponseFunction(
+ this,
+ `CSPFunction-${path}`,
+ {
+ bucket: `${props.subDomainName}.${props.domainName}`,
602
+ reportUri: reportUri,
603
+ fallbackCsp: fallbackCsp,
604
+ }
605
+ );
606
this.bucket.grantRead(responseFunction.edgeFunction);
607
608
const remap: remapPath = {
0 commit comments