|
|
|
@ -27,7 +27,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (localStorage.appConfig) { |
|
|
|
if(!localStorage.token){ |
|
|
|
localStorage.clear(); |
|
|
|
} |
|
|
|
if (localStorage.appConfig&&localStorage.appConfig!==undefined) { |
|
|
|
var config = JSON.parse(localStorage.appConfig); |
|
|
|
document.getElementById('appTitle').innerText = config.name |
|
|
|
document.getElementById('appIcon').href = config.titles_logo |
|
|
|
|