From dd3566809bd23c1148dce23a6318e05e703f0759 Mon Sep 17 00:00:00 2001 From: Dinh Nguyen <127725498+ntqdinh-axonivy@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:23:49 +0700 Subject: [PATCH] Update AdobeSignService.java --- .../esign/connector/service/AdobeSignService.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/adobe-esign-connector/src/com/axonivy/connector/adobe/esign/connector/service/AdobeSignService.java b/adobe-esign-connector/src/com/axonivy/connector/adobe/esign/connector/service/AdobeSignService.java index 59eb1b0..3327ec4 100644 --- a/adobe-esign-connector/src/com/axonivy/connector/adobe/esign/connector/service/AdobeSignService.java +++ b/adobe-esign-connector/src/com/axonivy/connector/adobe/esign/connector/service/AdobeSignService.java @@ -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(); }