mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-13 04:45:00 +01:00
wip: zen
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user