fix: remove desktop dup

thinking-toggle-wip
Adam 2025-12-23 15:31:18 -06:00 committed by Aiden Cline
parent 459db5c655
commit e7cf8b0813
1 changed files with 5 additions and 10 deletions

View File

@ -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",
})
})