Commit ef837aa4 authored by D's avatar D Committed by GitHub

Merge pull request #12232 from yaochengfly/master

升级https后fix掉http的请求
parents 523b7a62 5eb82728
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
admin.about = { admin.about = {
init: function() { init: function() {
$.ajax({ $.ajax({
url: "http://rhythm.b3log.org/version/solo/latest/" + Label.version, url: window.location.protocol + '://' + "rhythm.b3log.org/version/solo/latest/" + Label.version,
type: "GET", type: "GET",
cache: false, cache: false,
dataType: "jsonp", dataType: "jsonp",
......
...@@ -4105,7 +4105,7 @@ admin.register.main = { ...@@ -4105,7 +4105,7 @@ admin.register.main = {
admin.about = { admin.about = {
init: function() { init: function() {
$.ajax({ $.ajax({
url: "http://rhythm.b3log.org/version/solo/latest/" + Label.version, url: window.location.protocol + '://' + "rhythm.b3log.org/version/solo/latest/" + Label.version,
type: "GET", type: "GET",
cache: false, cache: false,
dataType: "jsonp", dataType: "jsonp",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment