Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(sfs): add CORS headers to CloudFront /file/* responses (#3591)
Eric Hayes76d0a38f4896
diff --git a/infra/stacks/static-file-service/distribution.ts b/infra/stacks/static-file-service/distribution.tsindex 6fb0003b6a..2d04ffb4bb 100644--- a/infra/stacks/static-file-service/distribution.ts+++ b/infra/stacks/static-file-service/distribution.ts@@ -86,6 +86,14 @@ export class StaticFileCloudFront extends pulumi.ComponentResource {const responseHeadersPolicy = new aws.cloudfront.ResponseHeadersPolicy('corp-policy',{+ corsConfig: {+ accessControlAllowCredentials: false,+ accessControlAllowHeaders: { items: ['*'] },+ accessControlAllowMethods: { items: ['GET', 'HEAD', 'OPTIONS'] },+ accessControlAllowOrigins: { items: ['*'] },+ accessControlMaxAgeSec: 3000,+ originOverride: true,+ },securityHeadersConfig: {contentSecurityPolicy: {contentSecurityPolicy: