# HG changeset patch # User Sebastien Jodogne # Date 1767715186 -3600 # Node ID e1670bd75c1c75715c15fbfa1c71e21d45d894ce # Parent 708ad81e971ca24e1efe6dcfad94337b3fe1bc73 fix opening of viewers diff -r 708ad81e971c -r e1670bd75c1c NEWS --- a/NEWS Tue Jan 06 11:04:40 2026 +0100 +++ b/NEWS Tue Jan 06 16:59:46 2026 +0100 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Fix opening of viewers if Orthanc is not branched at the root of the server + Version 1.1 (2025-11-07) ======================== diff -r 708ad81e971c -r e1670bd75c1c WebApplication/toolbox.js --- a/WebApplication/toolbox.js Tue Jan 06 11:04:40 2026 +0100 +++ b/WebApplication/toolbox.js Tue Jan 06 16:59:46 2026 +0100 @@ -43,7 +43,7 @@ function interpretRelativeUrl(relative_url) { - return new URL(relative_url, new URL('../..', window.location.origin) /* this is the base URL */); + return new URL(relative_url, new URL('../..', window.location) /* this is the base URL of Orthanc */); }