|
|
@@ -45,7 +45,7 @@ new sst.cloudflare.x.Astro("Web", {
|
|
|
},
|
|
|
})
|
|
|
|
|
|
-new sst.cloudflare.StaticSite("WebApp", {
|
|
|
+const webApp = new sst.cloudflare.StaticSite("WebApp", {
|
|
|
domain: "app." + domain,
|
|
|
path: "packages/app",
|
|
|
build: {
|
|
|
@@ -53,3 +53,11 @@ new sst.cloudflare.StaticSite("WebApp", {
|
|
|
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",
|
|
|
+ })
|
|
|
+})
|