Skip to content

Commit

Permalink
Fix #2729
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Nov 27, 2023
1 parent 4bf9d60 commit e10f31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webserver/WebServer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e10f31b

Please sign in to comment.