Skip to content

Commit

Permalink
Include base_url in proxy_url
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve committed Jan 31, 2025
1 parent c36f481 commit 0303ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server-defaults.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function jupyterlab_proxy_url(port)
hostname = config[1]["hostname"]
# TODO, this seems very fragile
if hostname == "0.0.0.0"
return string("http://", IJulia().profile["ip"], ":", config[1]["port"], "/proxy/", port)
return string("http://", IJulia().profile["ip"], ":", config[1]["port"], config[1]["base_url"], "proxy/", port)
else
return ""
end
Expand Down

0 comments on commit 0303ed4

Please sign in to comment.