mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-19 07:04:40 +00:00
fix: opencode web command
This commit is contained in:
@@ -2372,10 +2372,10 @@ export namespace Server {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
.all("/*", async (c) => {
|
.all("/*", async (c) => {
|
||||||
return proxy(`https://desktop.dev.opencode.ai${c.req.path}`, {
|
return proxy(`https://desktop.opencode.ai${c.req.path}`, {
|
||||||
...c.req,
|
...c.req,
|
||||||
headers: {
|
headers: {
|
||||||
host: "desktop.dev.opencode.ai",
|
host: "desktop.opencode.ai",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user