summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src/routes/docs
diff options
context:
space:
mode:
Diffstat (limited to 'cloud/app/src/routes/docs')
-rw-r--r--cloud/app/src/routes/docs/[...path].ts2
-rw-r--r--cloud/app/src/routes/docs/index.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/cloud/app/src/routes/docs/[...path].ts b/cloud/app/src/routes/docs/[...path].ts
index f98223937..f07781583 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 f98223937..f07781583 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,