Changed update URL #317

This commit is contained in:
Tobias Reich 2015-12-17 16:06:59 +01:00
parent 11a91fb625
commit d516409afc
2 changed files with 2 additions and 2 deletions

BIN
dist/main.js vendored

Binary file not shown.

View File

@ -9,7 +9,7 @@ lychee = {
version : '3.0.7', version : '3.0.7',
version_code : '030007', 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', updateURL : 'https://github.com/electerious/Lychee',
website : 'http://lychee.electerious.com', website : 'http://lychee.electerious.com',
@ -233,7 +233,7 @@ lychee.getUpdate = function() {
$.ajax({ $.ajax({
url : lychee.update_path, 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() },
}) })
} }