Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1516:2b7d34cb764f | 1517:307a805d0587 |
---|---|
145 /** | 145 /** |
146 Url of the Orthanc instance | 146 Url of the Orthanc instance |
147 Typically, in a native application (Qt, SDL), it will be an absolute URL like "http://localhost:8042". In | 147 Typically, in a native application (Qt, SDL), it will be an absolute URL like "http://localhost:8042". In |
148 wasm on the browser, it could be an absolute URL, provided you do not have cross-origin problems, or a relative | 148 wasm on the browser, it could be an absolute URL, provided you do not have cross-origin problems, or a relative |
149 URL. In our wasm samples, it is set to "..", because we set up either a reverse proxy or an Orthanc ServeFolders | 149 URL. In our wasm samples, it is set to "..", because we set up either a reverse proxy or an Orthanc ServeFolders |
150 plugin that serves the main web application from an URL like "http://localhost:8042/rtviewer" (with ".." leading | 150 plugin that serves the main web application from an URL like "http://localhost:8042/stone-rtviewer" (with ".." |
151 to the main Orthanc root URL) | 151 leading to the main Orthanc root URL) |
152 */ | 152 */ |
153 std::string orthancUrl = arguments_["orthanc"]; | 153 std::string orthancUrl = arguments_["orthanc"]; |
154 | 154 |
155 { | 155 { |
156 Orthanc::WebServiceParameters p; | 156 Orthanc::WebServiceParameters p; |