From f2fb938e5f3781c1bed3723837c36ddedb197b83 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Sun, 24 Aug 2025 01:28:18 -0500 Subject: [PATCH] Clean up main-axios.ts --- src/ui/main-axios.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ui/main-axios.ts b/src/ui/main-axios.ts index 4c3a5c99..85766006 100644 --- a/src/ui/main-axios.ts +++ b/src/ui/main-axios.ts @@ -175,7 +175,6 @@ function createApiInstance(baseURL: string): AxiosInstance { timeout: 30000, }); - // Add JWT token to all requests instance.interceptors.request.use((config) => { const token = getCookie('jwt'); if (token) { @@ -184,7 +183,6 @@ function createApiInstance(baseURL: string): AxiosInstance { return config; }); - // Global error handling instance.interceptors.response.use( (response) => response, (error: AxiosError) => {