diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js index e461f3940c97f594f6eaaaec9b39831b48bb4142..287201b96a79306bd6771ec6d1ae4b99b01fa039 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js @@ -657,7 +657,10 @@ $.extend(DefaultProfile.prototype, { var _this = this; this.serverFacade.getDirectLinkURL(function(error, result) { if(!error) { - _this.directLinkURL = result.data; + var hostName = window.location.hostname; + var directLinkURL = result.data; + directLinkURL = directLinkURL.replace("$URL", hostName); + _this.directLinkURL = directLinkURL; } callback(); });