Mercurial > hg > orthanc-dicomweb
view Resources/Samples/JavaScript/README.txt @ 526:389445feb3a0
removed TODO that is actually already covered: https://hg.orthanc-server.com/orthanc-tests/rev/18f2d55182fd
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 29 Jun 2022 11:26:18 +0200 |
parents | 3a2040a79007 |
children |
line wrap: on
line source
This is a sample JavaScript/jQuery application that makes a QIDO-RS request. To use it without facing the cross-domain restrictions, you will need to serve this folder using the "ServeFolder" plugin from the Orthanc source distribution: https://bitbucket.org/sjodogne/orthanc/src/default/Plugins/Samples/ServeFolders/ Your Orthanc configuration file will have to contain the following instruction to serve this folder as "http://localhost:8042/test/": "ServeFolders" : { "/dicom-web-test" : "<...>/Resources/Samples/JavaScript" } Where "<...>" is the path to the root of this repository. Once Orthanc is running with the adapted configuration, open Firefox or Chrome at the following URL: http://localhost:8042/dicom-web-test/index.html