feat(web): implement new server management for web and desktop (#8513)

This commit is contained in:
OpeOginni
2026-01-24 19:03:36 +01:00
committed by GitHub
parent f4cf3f4976
commit 67ea21b55a
25 changed files with 1104 additions and 360 deletions

View File

@@ -84,7 +84,7 @@ function ServerKey(props: ParentProps) {
)
}
export function AppInterface(props: { defaultUrl?: string }) {
export function AppInterface(props: { defaultUrl?: string; }) {
const defaultServerUrl = () => {
if (props.defaultUrl) return props.defaultUrl
if (location.hostname.includes("opencode.ai")) return "http://localhost:4096"