Skip to content
Snippets Groups Projects
Commit 130b5625 authored by Francesco Gramegna's avatar Francesco Gramegna
Browse files

Removed parasite println

parent 562562f4
No related branches found
No related tags found
No related merge requests found
Pipeline #233163 failed
......@@ -276,8 +276,7 @@ case class AppPage(appId: AppId, uiId: UIId, instanceId: InstanceId, userId: Use
.replace("{{userId}}", URLEncoder.encode(userId, "UTF-8"))
val shareUrlHost =
if hostName == "localhost" then appInfo.hostAddress else hostName
println("my hostname is " + hostName)
val shareUrl = f"$hypertextProtocol://${shareUrlHost}${if port.nonEmpty then f":$port" else ""}${appInfo.shareSubUrl}"
IpBanner(shareUrl).renderInto(target.querySelector("#banner"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment