diff --git a/WebContent/js/main.js b/WebContent/js/main.js index 79a4db8d288b25ec9b6203c1f93369b3bc987070..1e5fee8afc38742050cc9b9782944df1efbcc6f4 100644 --- a/WebContent/js/main.js +++ b/WebContent/js/main.js @@ -21,7 +21,7 @@ var Conf = { 'auth_uri' : '/action/oauth2/authorize', 'response_type' : 'code', 'client_id' : '2rbeJBgeNRvg0gqZJIci', - 'redirect_uri' : 'http://www.moveblog.com:8080/Oauth2Action' + 'redirect_uri' : 'http://www.moveblog.com:8081/Oauth2Action' }; var Api = (function(conf, $) { @@ -158,7 +158,7 @@ var Api = (function(conf, $) { }; var detectBlogType = function(url) { - var blog_types = [ 'csdn', 'cnblogs', '51cto', 'iteye' ]; + var blog_types = [ 'csdn', 'cnblogs', '51cto', 'iteye','jianshu']; return $.map(blog_types, function(type) { return url.indexOf(type) > -1 ? type : ''; }).join(''); diff --git a/src/common/AppConfig.xml b/src/common/AppConfig.xml index fe7a03df25470d1abc14b2bc92af9c4a9483ae78..3ffe2d0a7a9e6fecbaf1c1e776697332b1f37940 100644 --- a/src/common/AppConfig.xml +++ b/src/common/AppConfig.xml @@ -29,7 +29,7 @@ 1P7IsIMrGXqs6AZrcZJtjZRMjain5r5J 2rbeJBgeNRvg0gqZJIci - http://www.moveblog.com:8080/Oauth2Action + http://www.moveblog.com:8081/Oauth2Action /action/openapi/token