From 889a2f42eb6bf9c37980a7d8c85634a29ee41628 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 27 Sep 2026 14:34:09 +0000 Subject: [PATCH] Vergessenen Debug-Aufruf an 127.0.0.1 entfernt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AuthContext schickte bei jedem Seitenaufruf einen Debug-Eintrag an http://127.0.0.1:7284 (Überbleibsel einer Fehlersuche). Live landete er im Nichts; neuere Browser können für solche Aufrufe ins lokale Netzwerk eine Rückfrage anzeigen. Co-Authored-By: Claude Opus 5.5 --- src/context/AuthContext.jsx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/context/AuthContext.jsx b/src/context/AuthContext.jsx index 2cad599..01cf02f 100644 --- a/src/context/AuthContext.jsx +++ b/src/context/AuthContext.jsx @@ -15,24 +15,6 @@ const AuthContext = createContext() const DEMO_MODE = isDemoMode -// #region agent log -if (typeof window !== 'undefined') { - fetch('http://127.0.0.1:7284/ingest/0747da40-b90b-4354-9b84-c9b550a81ec9', { - method: 'POST', - headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '252827' }, - body: JSON.stringify({ - sessionId: '252827', - runId: 'pre-fix', - hypothesisId: 'B', - location: 'AuthContext.jsx:init', - message: 'Auth DEMO_MODE resolved', - data: { DEMO_MODE, PROJECT_ID: PROJECT_ID ? PROJECT_ID.slice(0, 8) : '' }, - timestamp: Date.now(), - }), - }).catch(() => {}) -} -// #endregion - function clearStaleAppwriteSessions() { if (typeof window === 'undefined' || !window.localStorage) return try {