removed the protocol form getGatewayHostname call

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@179796 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-06-12 13:03:08 +00:00
parent 4f85011097
commit db69912e5b
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ public class GenericUtils {
try { try {
URL gURL = new URL(clientURL); URL gURL = new URL(clientURL);
StringBuilder theURL = new StringBuilder(); StringBuilder theURL = new StringBuilder();
theURL.append(gURL.getProtocol()); // theURL.append(gURL.getProtocol());
theURL.append("://"); // theURL.append("://");
theURL.append(gURL.getHost()); theURL.append(gURL.getHost());
return theURL.toString(); return theURL.toString();
} catch (MalformedURLException e) { } catch (MalformedURLException e) {