Authorization working
This commit is contained in:
8
src/util/AxiosUtil.ts
Normal file
8
src/util/AxiosUtil.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import axios from "axios";
|
||||
|
||||
|
||||
export const api = axios.create({
|
||||
baseURL: `${import.meta.env.VITE_API_URL}`,
|
||||
timeout: 10000,
|
||||
withCredentials: true
|
||||
});
|
||||
Reference in New Issue
Block a user