xtz il y a 4 ans
Parent
commit
a89e36b04b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/common/api/axios.js

+ 1 - 1
src/common/api/axios.js

@@ -71,7 +71,7 @@ service.interceptors.response.use(
     return new Promise((resolve, reject) => {
       allowList.forEach(item => {
         console.log(res.config.url)
-        if (res.config.url === item) {
+        if (res.config.url.includes(item)) {
           // resolve(res.data)
           const content = res.data
           const blob = new Blob([content])