diff --git a/src/webserver/WebServer.jl b/src/webserver/WebServer.jl index 911a325704..3731f75431 100644 --- a/src/webserver/WebServer.jl +++ b/src/webserver/WebServer.jl @@ -331,7 +331,7 @@ precompile(run, (ServerSession, HTTP.Handlers.Router{Symbol("##001")})) function pretty_address(session::ServerSession, hostIP, port) root = if session.options.server.root_url !== nothing @assert endswith(session.options.server.root_url, "/") - session.options.server.root_url + replace(session.options.server.root_url, "{PORT}" => string(Int(port))) elseif haskey(ENV, "JH_APP_URL") "$(ENV["JH_APP_URL"])proxy/$(Int(port))/" else