view Applications/StoneWebViewer/WebApplication/configuration.json @ 1698:8805a6a01655

"DateFormat" configuration option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Nov 2020 10:13:15 +0100
parents c2802561d7f9
children 0598c87e1e88
line wrap: on
line source

{
  /**
   * Enables/disables the print button.
   **/
  "PrintEnabled" : true,

  /**
   * Defines how dates are displayed in the UI. If this option is not
   * set, the DICOM tags will be displayed as such. "DD" will be
   * replaced by the day, "MM" by the month, and "YYYY" by the year.
   **/
  // "DateFormat" : "DD/MM/YYYY",
  
  /**
   * The allowed origin for messages corresponding to dynamic actions
   * triggered by another Web page using "window.postMessage()". The
   * special value "*" will allow any origin, which is an insecure
   * value to be used only during development. If this option is not
   * 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"
}