mirror of
https://github.com/ershisan99/cards-front.git
synced 2025-12-27 20:49:29 +00:00
add auth api and auth instance
This commit is contained in:
6
src/features/auth/auth.instance.ts
Normal file
6
src/features/auth/auth.instance.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import axios from "axios"
|
||||
|
||||
export const AuthInstance = axios.create({
|
||||
baseURL: import.meta.env.BASE_URL + "auth/",
|
||||
withCredentials: true,
|
||||
})
|
||||
Reference in New Issue
Block a user