From 8d368fdfd2d1ea363f29710bada6e538ad64fb2e Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 2 Sep 2025 23:56:10 -0400 Subject: [PATCH] wip: zen --- cloud/app/src/routes/docs/[...path].ts | 2 +- cloud/app/src/routes/docs/index.ts | 2 +- cloud/app/src/routes/index.tsx | 2 +- cloud/app/src/routes/s/[id].ts | 2 +- .../core/migrations/0001_serious_whistler.sql | 2 + cloud/core/migrations/meta/0001_snapshot.json | 595 ++++++++++++++++++ cloud/core/migrations/meta/_journal.json | 7 + cloud/core/src/key.ts | 23 +- cloud/core/src/schema/key.sql.ts | 5 +- infra/app.ts | 2 +- infra/cloud.ts | 4 +- 11 files changed, 621 insertions(+), 25 deletions(-) create mode 100644 cloud/core/migrations/0001_serious_whistler.sql create mode 100644 cloud/core/migrations/meta/0001_snapshot.json diff --git a/cloud/app/src/routes/docs/[...path].ts b/cloud/app/src/routes/docs/[...path].ts index f9822393..f0778158 100644 --- a/cloud/app/src/routes/docs/[...path].ts +++ b/cloud/app/src/routes/docs/[...path].ts @@ -3,7 +3,7 @@ import type { APIEvent } from "@solidjs/start/server" async function handler(evt: APIEvent) { const req = evt.request.clone() const url = new URL(req.url) - const targetUrl = `https://dev.opencode.ai${url.pathname}${url.search}` + const targetUrl = `https://docs.opencode.ai${url.pathname}${url.search}` const response = await fetch(targetUrl, { method: req.method, headers: req.headers, diff --git a/cloud/app/src/routes/docs/index.ts b/cloud/app/src/routes/docs/index.ts index f9822393..f0778158 100644 --- a/cloud/app/src/routes/docs/index.ts +++ b/cloud/app/src/routes/docs/index.ts @@ -3,7 +3,7 @@ import type { APIEvent } from "@solidjs/start/server" async function handler(evt: APIEvent) { const req = evt.request.clone() const url = new URL(req.url) - const targetUrl = `https://dev.opencode.ai${url.pathname}${url.search}` + const targetUrl = `https://docs.opencode.ai${url.pathname}${url.search}` const response = await fetch(targetUrl, { method: req.method, headers: req.headers, diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index deb7be7e..da466e02 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -67,7 +67,7 @@ export default function Home() {
- Get Started + Get Started