Skip to content

Instantly share code, notes, and snippets.

View lordsarcastic's full-sized avatar
😶‍🌫️
There is a friend for little children, above the bright blue sky

lordsarcastic lordsarcastic

😶‍🌫️
There is a friend for little children, above the bright blue sky
View GitHub Profile
import axios, { AxiosInstance, AxiosResponse, AxiosError } from 'axios'
// -----------------------------------------------------------------------------
// Constants
// -----------------------------------------------------------------------------
const TOKEN_EXPIRY = {
ACCESS_TOKEN: 1800,
REFRESH_TOKEN: 2592000,
} as const