diff options
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/app.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/infra/app.ts b/infra/app.ts index 1123e3a6b..834936b71 100644 --- a/infra/app.ts +++ b/infra/app.ts @@ -9,6 +9,9 @@ const bucket = new sst.cloudflare.Bucket("Bucket") export const api = new sst.cloudflare.Worker("Api", { domain: `api.${domain}`, handler: "packages/function/src/api.ts", + environment: { + WEB_DOMAIN: domain, + }, url: true, link: [bucket], transform: { |
