|
@@ -20,9 +20,9 @@ function checkRoute() {
|
|
|
}
|
|
|
}).then(res => {
|
|
|
console.log(res.data);
|
|
|
- if(res.status !== 200) {
|
|
|
- window.location.replace("login.html");
|
|
|
- }
|
|
|
+ // if(res.status !== 200) {
|
|
|
+ // window.location.replace("login.html");
|
|
|
+ // }
|
|
|
var userName='';
|
|
|
userName+=' <h2 class="user-name text-white mt-lg-3 mt-xl-1 fw-bold">Hi '+res.data.user_info.userName+'</h2>';
|
|
|
$('.userName').html(userName);
|