Mercurial > hg > orthanc-stone
annotate Applications/StoneWebViewer/WebApplication/configuration.json @ 1696:572652803929
bootstrapping the Stone Web viewer configuration file
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2020 09:34:02 +0100 |
parents | |
children | c2802561d7f9 |
rev | line source |
---|---|
1696
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 { |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 /** |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 * The allowed origin for messages corresponding to dynamic actions |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 * triggered by another Web page using "window.postMessage()". The |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 * special value "*" will allow any origin, which is an insecure |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 * value to be used only during development. If this option is not |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 * set, all the requests for dynamic actions will be rejected. |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 * https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 **/ |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 "ExpectedMessageOrigin" : "http://localhost:8042" |
572652803929
bootstrapping the Stone Web viewer configuration file
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 } |