Skip to content

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
wyouflf committed Mar 19, 2017
1 parent 65fe797 commit c10ff09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/src/main/java/org/xutils/sample/MyApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void onCreate() {
x.Ext.init(this);
x.Ext.setDebug(BuildConfig.DEBUG); // 开启debug会影响性能

// 信任所有https域名
// 信任所有https域名 或 仅添加信任的https域名
/*HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
@Override
public boolean verify(String hostname, SSLSession session) {
Expand Down

0 comments on commit c10ff09

Please sign in to comment.