ananzhusen 1 년 전
부모
커밋
d650022b9b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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));