|
@@ -80,10 +80,10 @@ function returnLogin() {
|
|
|
|
|
|
_$httpWith500Msg.interceptors.request.use(
|
|
|
function (config) {
|
|
|
- setAuth(config);
|
|
|
networkInformationHint();
|
|
|
// Do something before request is sent
|
|
|
if (!noauthUrls.some((url) => config.url.includes(url))) {
|
|
|
+ setAuth(config);
|
|
|
if (!wk_token) {
|
|
|
const user = JSON.parse(window.sessionStorage.getItem("user"));
|
|
|
if (!user) {
|
|
@@ -133,10 +133,10 @@ _$httpWith500Msg.interceptors.request.use(
|
|
|
_$http.interceptors.request.use(
|
|
|
// no auto 500 error UI
|
|
|
function (config) {
|
|
|
- setAuth(config);
|
|
|
networkInformationHint();
|
|
|
// Do something before request is sent
|
|
|
if (!noauthUrls.some((url) => config.url.includes(url))) {
|
|
|
+ setAuth(config);
|
|
|
if (!wk_token) {
|
|
|
const user = JSON.parse(window.sessionStorage.getItem("user"));
|
|
|
if (!user) {
|
|
@@ -363,10 +363,10 @@ _$http.interceptors.response.use(
|
|
|
_$httpWithoutBar.interceptors.request.use(
|
|
|
// no auto 500 error UI
|
|
|
function (config) {
|
|
|
- setAuth(config);
|
|
|
networkInformationHint();
|
|
|
// Do something before request is sent
|
|
|
if (!noauthUrls.some((url) => config.url.includes(url))) {
|
|
|
+ setAuth(config);
|
|
|
if (!wk_token) {
|
|
|
const user = JSON.parse(window.sessionStorage.getItem("user"));
|
|
|
if (!user) {
|