Skip to content

Commit 01ae8a1

Browse files
author
opencode
committed
docs(config): note that the schema URL follows the actual server port
Per PR #44 review: every $schema example hardcodes localhost:4096, but that's only the default -- a taken port or the TUI's random assignment changes it. One sentence next to the first example, where users copy from.
1 parent 29fc18e commit 01ae8a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/web/src/content/docs/config.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ OpenCode supports both **JSON** and **JSONC** (JSON with Comments) formats.
2222
}
2323
```
2424

25+
`$schema` points at your own running [server](/docs/server) — `4096` is the default port, but if it was already taken your instance picked a different one, or if the TUI assigned itself a random port. Use whatever `--port` you started it with, or pass `--port 4096` explicitly to make it predictable.
26+
2527
---
2628

2729
## Locations

0 commit comments

Comments
 (0)