diff --git a/client/src/utils/server.ts b/client/src/utils/server.ts index 1b31422..e82cef0 100644 --- a/client/src/utils/server.ts +++ b/client/src/utils/server.ts @@ -35,7 +35,7 @@ server.interceptors.response.use( const oldAccessToken = userStore.accessToken // Try to refresh token using HTTP request - const response = await axios.post(`${import.meta.env.VITE_BACKEND_URL}/auth/refresh`, { + const response = await axios.post(`${import.meta.env.VITE_BACKEND_URL}/auth/refresh/`, { refreshToken: userStore.refreshToken, })