Commit 63e75321 authored by Liang Ding's avatar Liang Ding

🐛 #12229

parent d7d4e710
...@@ -444,7 +444,7 @@ admin.article = { ...@@ -444,7 +444,7 @@ admin.article = {
var filename = ""; var filename = "";
$('#articleUpload').fileupload({ $('#articleUpload').fileupload({
multipart: true, multipart: true,
url: "http://upload.qiniu.com/", url: "https://up.qbox.me",
add: function (e, data) { add: function (e, data) {
filename = data.files[0].name; filename = data.files[0].name;
...@@ -469,6 +469,7 @@ admin.article = { ...@@ -469,6 +469,7 @@ admin.article = {
return; return;
} }
$('#articleUpload').after('<div>![' + data.files[0].name + '](http://' $('#articleUpload').after('<div>![' + data.files[0].name + '](http://'
+ qiniu.qiniuDomain + qiniuKey + ')</div>'); + qiniu.qiniuDomain + qiniuKey + ')</div>');
}, },
......
...@@ -1356,7 +1356,7 @@ admin.article = { ...@@ -1356,7 +1356,7 @@ admin.article = {
var filename = ""; var filename = "";
$('#articleUpload').fileupload({ $('#articleUpload').fileupload({
multipart: true, multipart: true,
url: "http://upload.qiniu.com/", url: "https://up.qbox.me",
add: function (e, data) { add: function (e, data) {
filename = data.files[0].name; filename = data.files[0].name;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -499,7 +499,7 @@ $.extend(Page.prototype, { ...@@ -499,7 +499,7 @@ $.extend(Page.prototype, {
var tips = this.tips; var tips = this.tips;
try { try {
$.ajax({ $.ajax({
url: "http://rhythm.b3log.org:80/get-articles-by-tags.do?tags=" + tags url: "https://rhythm.b3log.org/get-articles-by-tags.do?tags=" + tags
+ "&blogHost=" + tips.blogHost + "&paginationPageSize=" + tips.externalRelevantArticlesDisplayCount, + "&blogHost=" + tips.blogHost + "&paginationPageSize=" + tips.externalRelevantArticlesDisplayCount,
type: "GET", type: "GET",
cache: true, cache: true,
......
This diff is collapsed.
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