mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-18 23:52:42 +00:00
fix: remove desktop dup
This commit is contained in:
parent
83f23817ce
commit
b6c07cb1b8
1 changed files with 5 additions and 10 deletions
15
infra/app.ts
15
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",
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue