diff --git a/src/util/axios-insatnce.ts b/src/util/axios-insatnce.ts new file mode 100644 index 0000000..e790e81 --- /dev/null +++ b/src/util/axios-insatnce.ts @@ -0,0 +1,7 @@ +import axios from "axios"; +import wafIntercept from "./wafIntercept"; + +export const axiosInstance = axios.create(); +axiosInstance.interceptors.response.use((response) => { + return response; +}, wafIntercept);