Skip to content

Commit

Permalink
修复浏览器打开的url问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tesla committed Oct 24, 2017
1 parent 3bc0b68 commit c8c574d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/moose/com/ac/ArticleViewActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
intent.setData(content_url);
startActivity(intent);
} else {
String url = Config.WAP_URL + "v#ac=" + articleId + ";type=article";
String url = Config.WAP_URL + "v/?ac=" + articleId;
CustomTabsIntent customTabsIntent = new CustomTabsIntent.Builder().build();
CustomTabActivityHelper.openCustomTab(
this, customTabsIntent, Uri.parse(url), new WebviewFallback());
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/moose/com/ac/common/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class Config {
public static final String SEARCH_URL = "http://search.acfun.tv";
public static final String WEB_URL = "http://www.acfun.tv/a/ac";
public static final String MEMBER_URL = "http://www.acfun.tv/member";
public static final String WAP_URL = "http://m.acfun.tv/";
public static final String WAP_URL = "http://m.acfun.cn/";
public static final String WEB_API = "http://webapi.acfun.tv";
public static final String COMMENT_URL = "http://mobile.app.acfun.cn";
public static final String LOGIN_URL = "http://mobile.app.acfun.cn";
Expand Down

0 comments on commit c8c574d

Please sign in to comment.