Rename API endpoints to /tendrils/api/*, detect SSE via Accept header

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-30 22:31:58 -08:00
parent 98c7fc75b7
commit d63b8192d2
4 changed files with 10 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ import {
let currentConfig = null;
function connectSSE() {
const evtSource = new EventSource('/api/status/stream');
const evtSource = new EventSource('/tendrils/api/status');
let heartbeatTimeout = null;
function resetHeartbeat() {