Skip to content

Commit

Permalink
Update Sentinel URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargav-Rao authored Feb 5, 2025
1 parent 233e8f4 commit 4692192
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ private void execute() throws Throwable {
String apiKey = propertyService.getSentinelApiKey();
if (apiKey.length() == 0)
return;

String sentinelUrl = propertyService.getSentinelUrl();

String urlString = "https://sentinel.erwaysoftware.com/api/blacklist_stats?key="+apiKey;
String urlString = sentinelUrl+"/api/blacklist_stats?key="+apiKey;
URL url = new URL(urlString);
HttpURLConnection con = (HttpURLConnection) url.openConnection();
con.setRequestMethod("GET");
Expand Down

0 comments on commit 4692192

Please sign in to comment.