This commit is contained in:
Dax Raad
2025-09-02 23:56:10 -04:00
parent 1c31c2dd97
commit 8d368fdfd2
11 changed files with 621 additions and 25 deletions

View File

@@ -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,