Fix settings for localhost standalone Orthanc
This commit is contained in:
parent
574dc26b36
commit
4d19ee9b96
@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Orthanc",
|
"name": "Orthanc",
|
||||||
"wadoUriRootNOTE" : "either this uri is not correct for wado-uri or wado-uri is not configured on orthanc currently",
|
"wadoUriRootNOTE" : "either this uri is not correct for wado-uri or wado-uri is not configured on orthanc currently",
|
||||||
"wadoUriRoot" : "http://localhost:8042/wado",
|
"wadoUriRoot" : "http://localhost:8043/wado",
|
||||||
"qidoRoot": "http://localhost:8042/dicom-web",
|
"qidoRoot": "http://localhost:8042/dicom-web",
|
||||||
"wadoRoot": "http://localhost:8042/dicom-web",
|
"wadoRoot": "http://localhost:8042/dicom-web",
|
||||||
"qidoSupportsIncludeField": false,
|
"qidoSupportsIncludeField": false,
|
||||||
|
|||||||
@ -5,9 +5,9 @@ var http = require('http'),
|
|||||||
httpProxy = require('http-proxy');
|
httpProxy = require('http-proxy');
|
||||||
|
|
||||||
var proxy = httpProxy.createProxyServer({
|
var proxy = httpProxy.createProxyServer({
|
||||||
target: 'http://192.168.99.100:8042',
|
target: 'http://localhost:8042',
|
||||||
auth: 'orthanc:orthanc'
|
auth: 'orthanc:orthanc'
|
||||||
}).listen(8042);
|
}).listen(8043);
|
||||||
|
|
||||||
proxy.on('proxyRes', function(proxyReq, req, res, options) {
|
proxy.on('proxyRes', function(proxyReq, req, res, options) {
|
||||||
// add the CORS header to the response
|
// add the CORS header to the response
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user