fix(tmux): use stable fallback server URL
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -72,8 +72,7 @@ export class TmuxSessionManager {
|
||||
this.client = ctx.client
|
||||
this.tmuxConfig = tmuxConfig
|
||||
this.deps = deps
|
||||
const defaultPort = process.env.OPENCODE_PORT ?? "4096"
|
||||
const fallbackUrl = `http://localhost:${defaultPort}`
|
||||
const fallbackUrl = "http://localhost:4096"
|
||||
const rawServerUrl = ctx.serverUrl?.toString()
|
||||
try {
|
||||
if (rawServerUrl) {
|
||||
|
||||
Reference in New Issue
Block a user