fixup! chore: copy kept Tastefully modules and portals into Co-Lite
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in new issue
Block a user