Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(infra): serve email-service /calendar routes through the gateway (#6569)

gbirman0434b601d172
diff --git a/infra/stacks/email-service/service.ts b/infra/stacks/email-service/service.ts
index b74b5db92e..9179706c7b 100644
--- a/infra/stacks/email-service/service.ts
+++ b/infra/stacks/email-service/service.ts
@@ -104,7 +104,9 @@ export class EmailService extends pulumi.ComponentResource {
containerPort: serviceContainerPort,
service: GatewayService.EMAIL_SERVICE,
healthCheckPath,
- pathPatterns: ['/email', '/email/*'],
+ // `/calendar` fronts the Google Calendar watch webhook so its public
+ // URL is independent of the `/email` prefix.
+ pathPatterns: ['/email', '/email/*', '/calendar', '/calendar/*'],
serviceSecurityGroupId: this.serviceSg.id,
albSecurityGroupId: gatewayLoadBalancer.albSecurityGroupId,
},