migrate from hono

This commit is contained in:
JCEEE
2026-08-17 07:41:26 +01:00
parent e2b99c45b6
commit 5204e7bdbc
56 changed files with 1815 additions and 3357 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ class ChatStore {
// ── Writes via SvelteKit server (forwards session/device auth) ──
private async serverChat(payload: Record<string, unknown>) {
const res = await fetch('/chat', {
const res = await fetch('/api/chat', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(payload)