diff options
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/app.ts | 2 | ||||
| -rw-r--r-- | infra/cloud.ts | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/infra/app.ts b/infra/app.ts index 73e12350c..465ed9052 100644 --- a/infra/app.ts +++ b/infra/app.ts @@ -33,7 +33,7 @@ export const api = new sst.cloudflare.Worker("Api", { }, }) -export const web = new sst.cloudflare.x.Astro("Web", { +new sst.cloudflare.x.Astro("Web", { domain: "docs." + domain, path: "packages/web", environment: { diff --git a/infra/cloud.ts b/infra/cloud.ts index b628cde72..cba32ec7e 100644 --- a/infra/cloud.ts +++ b/infra/cloud.ts @@ -30,8 +30,6 @@ const password = new planetscale.Password("DatabasePassword", { branch: branch.name, }) -password.accessHostUrl.apply(console.log) - export const database = new sst.Linkable("Database", { properties: { host: password.accessHostUrl, @@ -117,7 +115,7 @@ const STRIPE_WEBHOOK_SECRET = new sst.Linkable("STRIPE_WEBHOOK_SECRET", { //////////////// new sst.cloudflare.x.SolidStart("Console", { - domain: `console.${domain}`, + domain, path: "cloud/app", link: [ database, |
