When running the command npx http-server -p 5000 -g --cors when the DICOMWeb request is made to GET /studies a directory listing is displayed as index.html does not exist.
Adding the option -e json will make sure the directory listing isn't shown but instead the index.json.gz will be returned.
When running the command
npx http-server -p 5000 -g --cors
when the DICOMWeb request is made toGET /studies
a directory listing is displayed asindex.html
does not exist.Adding the option
-e json
will make sure the directory listing isn't shown but instead theindex.json.gz
will be returned.