Librejs main.js
This commit is contained in:
parent
9f6b734476
commit
3646d92ccc
|
@ -1,3 +1,5 @@
|
||||||
|
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
|
||||||
|
|
||||||
if (localStorage.getItem("DONOTSHARE-secretkey") === null) {
|
if (localStorage.getItem("DONOTSHARE-secretkey") === null) {
|
||||||
window.location.replace("/login")
|
window.location.replace("/login")
|
||||||
document.body.innerHTML = "Redirecting..."
|
document.body.innerHTML = "Redirecting..."
|
||||||
|
@ -738,3 +740,5 @@ if (firstNewVersion()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
checknetwork()
|
checknetwork()
|
||||||
|
|
||||||
|
// @license-end
|
Reference in New Issue