Browse Source

Changed update URL #317

Tobias Reich 8 years ago
parent
commit
d516409afc
2 changed files with 2 additions and 2 deletions
  1. 0 0
      dist/main.js
  2. 2 2
      src/scripts/lychee.js

File diff suppressed because it is too large
+ 0 - 0
dist/main.js


+ 2 - 2
src/scripts/lychee.js

@@ -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() },
 	})
 
 }

Some files were not shown because too many files changed in this diff