diff --git a/public/vcCore/vcFramework.js b/public/vcCore/vcFramework.js index e18f785fa..3e7175e06 100644 --- a/public/vcCore/vcFramework.js +++ b/public/vcCore/vcFramework.js @@ -762,6 +762,10 @@ window.location.href = _header['location']; return; } + if(res.status == 404){ + window.location.href = '/user.html#/login'; + return; + } errorCallback(res.bodyText, res); } catch (e) { console.error(e); @@ -804,6 +808,10 @@ return; } + if(res.status == 404){ + window.location.href = '/user.html#/login'; + return; + } errorCallback(res.bodyText, res); } catch (e) { console.error(e);