import axios from 'axios'

export const legacyClient = axios.create({
  // baseURL: import.meta.env.SSR
  //   ? 'https://legacy.passthem.top/api'
  //   : '/api/legacy',
  baseURL: 'https://legacy.passthem.top/api',
  timeout: 6000,
  withCredentials: true,
  headers: {
    'Content-Type': 'application/json',
  },
})
