fix: opencode web command

This commit is contained in:
Adam 2025-12-08 09:39:34 -06:00
parent 2a5255ac8f
commit c347056246
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75

View file

@ -2380,7 +2380,7 @@ export namespace Server {
})
})
.all("/*", async (c) => {
return proxy(`https://desktop.opencode.ai?url=/web`, {
return proxy(`https://desktop.opencode.ai${c.req.path}?url=/web`, {
...c.req,
headers: {
host: "desktop.opencode.ai",