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
migrate-to-catalogue-util-library_#19764
Francesco Mangiacrapa 5 years ago
parent 4f85011097
commit db69912e5b

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

Loading…
Cancel
Save