Mercurial > hg > orthanc-stone
diff OrthancStone/Samples/Sdl/RtViewer/RtViewerSdl.cpp @ 1517:307a805d0587
rtviewer --> stone-rtviewer
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 31 Jul 2020 12:46:22 +0200 |
parents | 244ad1e4e76a |
children | 31b0449a163a |
line wrap: on
line diff
--- 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"];