ananzhusen 1 tahun lalu
induk
melakukan
d650022b9b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/http.ts

+ 1 - 1
src/http.ts

@@ -57,7 +57,7 @@ axios.interceptors.response.use(
 
       switch (error.response.status) {
         case 401:
-          if (error.response.config.url==='/api/account/statistics' && location.pathname.indexOf('/preview') !== -1) {
+          if (error.response.config.url==='/api/account/statistics') {
             break;
           }
           sessionStorage.setItem('cb', encodeURIComponent(location.href));