docs(config): clarify self-hosted instanceUrl API endpoint formatting

- Clarify in README and config_example.json that self-hosted instances
  require the /api mount path (fixes #26)
- Add instanceUrl placeholder to docker/config_example.json
This commit is contained in:
NoLogicAlan committed 2026-11-23 01:42:03 +03:00
1 parent 6bca127365
commit b2af315240
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
"Comment": "Fluxer music bot configuration. Requires Node.js >= 22.13.0. Run 'node --version' to verify.",
"token": "your bot token",
"instanceUrl": null,
"instanceUrl-Comment": "Optional base URL of a self-hosted Fluxer instance (e.g. 'https://chat.example.com'). Leave null or omit to connect to the official fluxer.com.",
"instanceUrl-Comment": "Optional base API URL of a self-hosted Fluxer instance (e.g. 'https://chat.example.com/api'). Include '/api' if your instance serves REST endpoints under /api. Leave null or omit to connect to official fluxer.com.",
"fluxer.js": {
"rest": {
"Comment": "REST client options. 'timeout' is ms before a request to fluxer.com/api is aborted (default: 15000). Raise if you see DOMException AbortError in logs.",