diff options
Diffstat (limited to 'cloud/app/src')
| -rw-r--r-- | cloud/app/src/routes/docs/[...path].ts | 2 | ||||
| -rw-r--r-- | cloud/app/src/routes/docs/index.ts | 2 | ||||
| -rw-r--r-- | cloud/app/src/routes/index.tsx | 2 | ||||
| -rw-r--r-- | cloud/app/src/routes/s/[id].ts | 2 |
4 files changed, 4 insertions, 4 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, diff --git a/cloud/app/src/routes/index.tsx b/cloud/app/src/routes/index.tsx index deb7be7e9..da466e022 100644 --- a/cloud/app/src/routes/index.tsx +++ b/cloud/app/src/routes/index.tsx @@ -67,7 +67,7 @@ export default function Home() { <section data-component="cta"> <div data-slot="left"> - <a href="/docs">Get Started</a> + <a target="_self" href="/docs">Get Started</a> </div> <div data-slot="right"> <button data-copy data-slot="command"> diff --git a/cloud/app/src/routes/s/[id].ts b/cloud/app/src/routes/s/[id].ts index 75bff7ae3..3fd1305a0 100644 --- a/cloud/app/src/routes/s/[id].ts +++ b/cloud/app/src/routes/s/[id].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 = `http://dev.opencode.ai/docs${url.pathname}${url.search}` + const targetUrl = `https://docs.opencode.ai/docs${url.pathname}${url.search}` const response = await fetch(targetUrl, { method: req.method, headers: req.headers, |
