Skip to content

Commit

Permalink
更新UA
Browse files Browse the repository at this point in the history
  • Loading branch information
Hs1r1us committed Jan 1, 2021
1 parent 43a0cfd commit de2de41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgfc/src/main/java/net/jejer/hipda/utils/HiUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import net.jejer.hipda.ui.HiApplication;

public class HiUtils {
public static final String UserAgentPrefix = "Mozilla/5.0 (Android 10; Mobile; rv:75.0)";
public static final String UserAgentPrefix = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36";
public static final String BaseUrl = "https://club.tgfcer.com/";
public static final String Pic2_Url = "http://pic2.52tgfc.com/";
public static final String SecCodeVerifyUrl = BaseUrl + "seccode.php?update=";
Expand Down Expand Up @@ -235,7 +235,7 @@ public static boolean isValidId(String id) {

public static String getUserAgent() {
if (userAgent == null)
userAgent = UserAgentPrefix + " " + HiApplication.getAppVersion();
userAgent = UserAgentPrefix;
return userAgent;
}

Expand Down

0 comments on commit de2de41

Please sign in to comment.