refactor: create separate shared store for auth token and refresh action
This commit is contained in:
6
src/shared/api/model/const/index.ts
Normal file
6
src/shared/api/model/const/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const BASE_URL =
|
||||
import.meta.env.VITE_API_BASE_URL || "https://localhost:3001";
|
||||
|
||||
export const UNEXPECTED_ERROR_MESSAGE = "An unexpected error occured";
|
||||
export const MOCK_TOKEN = "mock.access.token";
|
||||
export const MOCK_FRESH_TOKEN = "mock.fresh.access.token";
|
||||
Reference in New Issue
Block a user