mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
feat: Add new web frontend
This commit is contained in:
5
infra/dns.ts
Normal file
5
infra/dns.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const domain = (() => {
|
||||
if ($app.stage === "production") return "nestri.io"
|
||||
if ($app.stage === "dev") return "nestri.io"
|
||||
return `${$app.stage}.dev.nestri.io`
|
||||
})()
|
||||
9
infra/www.ts
Normal file
9
infra/www.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { domain } from "./dns";
|
||||
|
||||
new sst.cloudflare.x.Astro("Web", {
|
||||
domain,
|
||||
path: "packages/web",
|
||||
environment: {
|
||||
SST_STAGE: $app.stage,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user