From af8af2faa334f2ee56bfbfef5b7895fff6c581bc Mon Sep 17 00:00:00 2001 From: Ethan Kaplan Date: Wed, 26 Jun 2024 13:23:27 -0700 Subject: [PATCH] MAT-7204a --- src/util/axios-insatnce.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/util/axios-insatnce.ts 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);