diff --git a/html/static/adminlte/css/AdminLTE.css b/html/static/adminlte/css/AdminLTE.css index 3fd8f9b..bdfed91 100755 --- a/html/static/adminlte/css/AdminLTE.css +++ b/html/static/adminlte/css/AdminLTE.css @@ -1,5 +1,5 @@ -@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic); /*! + * @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic); * AdminLTE v2.3.2 * Author: Almsaeed Studio * Website: Almsaeed Studio diff --git a/html/static/js/main.js b/html/static/js/main.js index 0194aeb..7013e9d 100755 --- a/html/static/js/main.js +++ b/html/static/js/main.js @@ -9,7 +9,8 @@ function api_invoke(uri, params, callback) { callback(data); }, error: function (XMLHttpRequest, textStatus, errorThrown) { - if (XMLHttpRequest.status == 302) { + console.log(XMLHttpRequest); + if (XMLHttpRequest.status == "302") { location.href = "/login.html"; return; }