Skip to content

Commit

Permalink
Update AdobeSignService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ntqdinh-axonivy authored Oct 6, 2023
1 parent ad404ee commit dd35668
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,18 +439,10 @@ private void handleError(SubProcessCallResult callResult) {

/**
* Extracts the base url from actual request.
* Example: http://localhost:8081
* Example: http://www.demo.com:8081
* @return
*/
private String getRequestBaseUrl() {
// IHttpRequest req = (IHttpRequest) Ivy.request();
// HttpServletRequest request = req.getHttpServletRequest();
// StringBuilder baseUrlBuilder = new StringBuilder();
// baseUrlBuilder.append(request.getScheme()).append("://").append(request.getServerName());
// int port = request.getServerPort();
// if (port != 80 && port != 443) {
// baseUrlBuilder.append(":").append(port);
// }
return Ivy.request().getApplication().getContextPath();
}

Expand Down

0 comments on commit dd35668

Please sign in to comment.