Changed update URL #317
This commit is contained in:
parent
11a91fb625
commit
d516409afc
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -9,7 +9,7 @@ lychee = {
|
||||
version : '3.0.7',
|
||||
version_code : '030007',
|
||||
|
||||
update_path : 'http://lychee.electerious.com/version/index.php',
|
||||
update_path : '//update.electerious.com/index.json',
|
||||
updateURL : 'https://github.com/electerious/Lychee',
|
||||
website : 'http://lychee.electerious.com',
|
||||
|
||||
@ -233,7 +233,7 @@ lychee.getUpdate = function() {
|
||||
|
||||
$.ajax({
|
||||
url : lychee.update_path,
|
||||
success : function(data) { if (parseInt(data)>parseInt(lychee.version_code)) $('.version span').show() }
|
||||
success : function(data) { if (data.lychee.version>parseInt(lychee.version_code)) $('.version span').show() },
|
||||
})
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user