mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: opencode web command
This commit is contained in:
parent
2a5255ac8f
commit
c347056246
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue