summaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-02 23:56:10 -0400
committerDax Raad <[email protected]>2025-09-02 23:56:10 -0400
commit8d368fdfd2d1ea363f29710bada6e538ad64fb2e (patch)
tree026e3d5d3ba6af0ebf6e5aff33d0e5b8e7fff9c2 /infra
parent1c31c2dd977d6e1c3a8e2e33cb6d4717b7897e7a (diff)
downloadopencode-8d368fdfd2d1ea363f29710bada6e538ad64fb2e.tar.gz
opencode-8d368fdfd2d1ea363f29710bada6e538ad64fb2e.zip
wip: zen
Diffstat (limited to 'infra')
-rw-r--r--infra/app.ts2
-rw-r--r--infra/cloud.ts4
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,