fixup! chore: copy kept Tastefully modules and portals into Co-Lite

This commit is contained in:
ngqile committed 2026-11-26 16:46:58 +08:00
1 parent fc91dc1076
commit e73fab9cc6
1 file changed
+1 -1
@@ -65,7 +65,7 @@ public class UserAgentUtil {
} }
public JsonObject getUserAgentUserStackObject(String userAgent) { public JsonObject getUserAgentUserStackObject(String userAgent) {
try { try {
String url="http://api.userstack.com/detect?access_key=26367d874557bc1877042cce2c358d7e" String url="http://api.userstack.com/detect?access_key=" + System.getenv("USERSTACK_API_KEY")
+ "&output=json" + "&output=json"
+ "&ua="+userAgent; + "&ua="+userAgent;
ResponseEntity<String> ent = restTemplateUtil.getForEntity(url, String.class); ResponseEntity<String> ent = restTemplateUtil.getForEntity(url, String.class);