I ran into what I think is a bug in supertokens-we...
# support-questions-legacy
e
I ran into what I think is a bug in supertokens-website /axios. I am setting things up like this
Copy code
const HTTP = axios.create({
  baseURL: process.env.VUE_APP_API_BASE_URL,
  withCredentials: true,
  xsrfHeaderName: 'anti-csrf',
})
SuperTokensRequest.makeSuper(HTTP)
but SuperTokens seems to not be aware of the baseURL when dealing with a 440 response from the server when a token is expired. I.e., when the session token expires and Supertokens automatically refreshes it, it does a request with the baseURL duplicated, e.g., it tries to access "/api/v2/api/v2/subjects" when the baseURL is set to "/api/v2" and I was trying to make a query to "/subjects".