diff Applications/StoneWebViewer/WebApplication/configuration.json @ 1709:2931f5e15320

download study from Stone Web viewer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2020 15:36:40 +0100
parents b5a8bf32d969
children 673c163e1b3e
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebApplication/configuration.json	Sat Nov 28 16:16:24 2020 +0100
+++ b/Applications/StoneWebViewer/WebApplication/configuration.json	Mon Nov 30 15:36:40 2020 +0100
@@ -47,7 +47,12 @@
      * active viewport as a JPEG file.
      **/
     "DownloadAsJpegEnabled" : true,
-    
+
+    /**
+     * Enables/disables the button to download the display study.
+     **/
+    "DownloadStudyEnabled" : true,
+
     /**
      * The allowed origin for messages corresponding to dynamic actions
      * triggered by another Web page using "window.postMessage()". The
@@ -56,6 +61,13 @@
      * set, all the requests for dynamic actions will be rejected.
      * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
      **/
-    "ExpectedMessageOrigin" : "http://localhost:8042"
+    "ExpectedMessageOrigin" : "http://localhost:8042",
+
+    /**
+     * The following parameter can be set if running the Stone Web
+     * viewer from Orthanc, but without using the associated plugin.
+     * Using the plugin would overwrite this setting.
+     **/
+    "OrthancApiRoot" : "schnol"
   }
 }