Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/WebApplication/configuration.json @ 1712:fb57536fcc5f
documentation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 30 Nov 2020 16:49:04 +0100 |
parents | 673c163e1b3e |
children | aec45e0b2528 |
comparison
equal
deleted
inserted
replaced
1711:a4207b4f560b | 1712:fb57536fcc5f |
---|---|
48 **/ | 48 **/ |
49 "DownloadAsJpegEnabled" : true, | 49 "DownloadAsJpegEnabled" : true, |
50 | 50 |
51 /** | 51 /** |
52 * Enables/disables the button to download the display study. | 52 * Enables/disables the button to download the display study. |
53 * Only used if "OrthancApiRoot" is properly set. | |
53 **/ | 54 **/ |
54 "DownloadStudyEnabled" : true, | 55 "DownloadStudyEnabled" : true, |
55 | 56 |
56 /** | 57 /** |
57 * The allowed origin for messages corresponding to dynamic actions | 58 * The allowed origin for messages corresponding to dynamic actions |
59 * special value "*" will allow any origin, which is an insecure | 60 * special value "*" will allow any origin, which is an insecure |
60 * value to be used only during development. If this option is not | 61 * value to be used only during development. If this option is not |
61 * set, all the requests for dynamic actions will be rejected. | 62 * set, all the requests for dynamic actions will be rejected. |
62 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage | 63 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage |
63 **/ | 64 **/ |
64 "ExpectedMessageOrigin" : "http://localhost:8042" | 65 "ExpectedMessageOrigin" : "http://localhost:8042", |
65 | 66 |
66 /** | 67 /** |
67 * The following parameter can be set if running the Stone Web | 68 * The following parameter can be set if running the Stone Web |
68 * viewer from Orthanc, but without using the associated plugin. | 69 * viewer from Orthanc, but without using the associated plugin. |
69 * Using the plugin would overwrite this setting. | 70 * Using the plugin would overwrite this setting. This will enable |
71 * features that are only available if the Orthanc REST API is | |
72 * accessible (download of studies, and playing videos). This | |
73 * option is typically used by the developers of Stone. | |
70 **/ | 74 **/ |
71 // "OrthancApiRoot" : ".." | 75 "OrthancApiRoot" : ".." |
72 } | 76 } |
73 } | 77 } |