Lizandro GuarnizoandClaude Sonnet 4.6 0be3d467ff fix: embed conversations data inline in chat page HTML
Instead of making a separate fetch to /admin/chat/conversations (which
Nginx intercepts), pre-load conversations in the PHP chat() method and
embed them as window.INITIAL_CONVS JSON in the page script.

renderConvs(INITIAL_CONVS) runs synchronously on page load — no HTTP
request needed. setInterval still tries to refresh via fetch every 15s
but the initial render no longer depends on it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-27 19:51:15 -05:00
2026-06-12 12:18:21 -05:00
2026-06-12 12:18:21 -05:00
2026-06-12 12:18:21 -05:00
S
Description
No description provided
3.4 MiB
Languages
PHP 86.7%
HTML 11.5%
CSS 1.7%
JavaScript 0.1%