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 {