From 4867462c8e7b94f3d42cb4049372d3165de85a64 Mon Sep 17 00:00:00 2001 From: ghorbani Date: Wed, 29 Jul 2026 15:51:51 +0330 Subject: [PATCH] feat: add AuthBridge for Flutter communication and configure Axios http client with proxy support and token authentication --- src/lib/auth-bridge.ts | 2 +- src/lib/http.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/auth-bridge.ts b/src/lib/auth-bridge.ts index 8c89fb7..9bf91e6 100644 --- a/src/lib/auth-bridge.ts +++ b/src/lib/auth-bridge.ts @@ -209,7 +209,7 @@ class AuthBridge { return ( getClientCookie(TOKEN_COOKIE_NAME) ?? getClientCookie("habib_token") ?? - "0b55485e6dddb6f24bf14acde5f21edde8792f13" + "15c4187abbfbe56f932268b02413e2e8987f5338" ); } diff --git a/src/lib/http.ts b/src/lib/http.ts index 8a2e917..e3016c4 100644 --- a/src/lib/http.ts +++ b/src/lib/http.ts @@ -73,7 +73,7 @@ http.interceptors.request.use((config) => { const token = authBridge.getToken() ?? getClientCookie("HABIB_TOKEN") ?? - "0b55485e6dddb6f24bf14acde5f21edde8792f13"; + "15c4187abbfbe56f932268b02413e2e8987f5338"; if (token) { config.headers.Authorization = `Token ${token}`;