Skip to content

Commit

Permalink
Update IPSearcher.java
Browse files Browse the repository at this point in the history
  • Loading branch information
youfanx committed May 7, 2024
1 parent 16a18a7 commit 5c0bf10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rxlib/src/main/java/org/rx/net/support/IPSearcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ static String godaddyDns(String ssoKey, String domain, String name) {
static String godaddyDns(String ssoKey, String domain, String name, String ip, AuthenticProxy proxy) {
String u = String.format("https://api.godaddy.com/v1/domains/%s/records/A/%s", domain, name);
HttpClient c = new HttpClient();
c.setEnableLog(true);
c.setProxy(proxy);
c.requestHeaders().add("Authorization", "sso-key " + ssoKey);
return c.putJson(u, String.format("[\n" +
Expand Down

0 comments on commit 5c0bf10

Please sign in to comment.