# HG changeset patch # User Benjamin Golinvaux # Date 1596192382 -7200 # Node ID 307a805d05870efc5a13e87e4efa29122576b1e7 # Parent 2b7d34cb764f95ef8dceed8b769a38d2604e5609 rtviewer --> stone-rtviewer diff -r 2b7d34cb764f -r 307a805d0587 OrthancStone/Samples/README.md --- a/OrthancStone/Samples/README.md Wed Jul 08 18:25:26 2020 +0200 +++ b/OrthancStone/Samples/README.md Fri Jul 31 12:46:22 2020 +0200 @@ -115,7 +115,7 @@ This sample application displays three MPR views of a CT+RTDOSE+RTSTRUCT dataset, loaded from Orthanc. The Orthanc IDs of the dataset must be supplied as URL parameters like: ``` -http://localhost:9979/rtviewer/index.html?loglevel=info&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9 +http://localhost:9979/stone-rtviewer/index.html?loglevel=info&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9 ``` (notice the loglevel parameter that can be `warning`, `info` or `trace`, in increasing verbosity order) diff -r 2b7d34cb764f -r 307a805d0587 OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp --- a/OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp Wed Jul 08 18:25:26 2020 +0200 +++ b/OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp Fri Jul 31 12:46:22 2020 +0200 @@ -147,8 +147,8 @@ Typically, in a native application (Qt, SDL), it will be an absolute URL like "http://localhost:8042". In wasm on the browser, it could be an absolute URL, provided you do not have cross-origin problems, or a relative URL. In our wasm samples, it is set to "..", because we set up either a reverse proxy or an Orthanc ServeFolders - plugin that serves the main web application from an URL like "http://localhost:8042/rtviewer" (with ".." leading - to the main Orthanc root URL) + plugin that serves the main web application from an URL like "http://localhost:8042/stone-rtviewer" (with ".." + leading to the main Orthanc root URL) */ std::string orthancUrl = arguments_["orthanc"]; diff -r 2b7d34cb764f -r 307a805d0587 OrthancStone/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js --- a/OrthancStone/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js Wed Jul 08 18:25:26 2020 +0200 +++ b/OrthancStone/Samples/WebAssembly/RtViewer/RtViewerWasmApp.js Fri Jul 31 12:46:22 2020 +0200 @@ -81,5 +81,5 @@ }); }); -// http://localhost:9979/rtviewer/index.html?loglevel=trace&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9 +// http://localhost:9979/stone-rtviewer/index.html?loglevel=trace&ctseries=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa&rtdose=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb&rtstruct=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9