diff options
| author | Adam <[email protected]> | 2025-12-23 15:31:18 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-23 15:31:18 -0600 |
| commit | b6c07cb1b8fd8b433dba6c7f5da48ee23d07b8d6 (patch) | |
| tree | e7a334165af47ed4e7ae1f212cc09d63d8aebe6b /infra/app.ts | |
| parent | 83f23817ce8995f48870395647f7e997ef441edf (diff) | |
| download | opencode-b6c07cb1b8fd8b433dba6c7f5da48ee23d07b8d6.tar.gz opencode-b6c07cb1b8fd8b433dba6c7f5da48ee23d07b8d6.zip | |
fix: remove desktop dup
Diffstat (limited to 'infra/app.ts')
| -rw-r--r-- | infra/app.ts | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/infra/app.ts b/infra/app.ts index 0879962db..97d7de557 100644 --- a/infra/app.ts +++ b/infra/app.ts @@ -45,19 +45,14 @@ new sst.cloudflare.x.Astro("Web", { }, }) -const webApp = new sst.cloudflare.StaticSite("WebApp", { - domain: "app." + domain, +new sst.cloudflare.StaticSite("WebApp", { + domain: { + name: "app." + domain, + // redirects: ["desktop." + domain], + }, path: "packages/app", build: { command: "bun turbo build", output: "./dist", }, }) - -// Temporarily deploy the same app to desktop.domain without doing a full build -webApp.url.apply((url) => { - new sst.cloudflare.StaticSite("Desktop", { - domain: "desktop." + domain, - path: "packages/app/dist", - }) -}) |
