summaryrefslogtreecommitdiffhomepage
path: root/cloud/app/src
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 /cloud/app/src
parent1c31c2dd977d6e1c3a8e2e33cb6d4717b7897e7a (diff)
downloadopencode-8d368fdfd2d1ea363f29710bada6e538ad64fb2e.tar.gz
opencode-8d368fdfd2d1ea363f29710bada6e538ad64fb2e.zip
wip: zen
Diffstat (limited to 'cloud/app/src')
-rw-r--r--cloud/app/src/routes/docs/[...path].ts2
-rw-r--r--cloud/app/src/routes/docs/index.ts2
-rw-r--r--cloud/app/src/routes/index.tsx2
-rw-r--r--cloud/app/src/routes/s/[id].ts2
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,