From 4d19ee9b9651dadc54c0e0ce18b1e0e68259f7b6 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Tue, 10 May 2016 21:57:10 +0200 Subject: [PATCH] Fix settings for localhost standalone Orthanc --- config/localhostOrthanc.json | 2 +- etc/nodeCORSProxy.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/localhostOrthanc.json b/config/localhostOrthanc.json index 9b31cd918..6bf39df37 100644 --- a/config/localhostOrthanc.json +++ b/config/localhostOrthanc.json @@ -4,7 +4,7 @@ { "name": "Orthanc", "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", "wadoRoot": "http://localhost:8042/dicom-web", "qidoSupportsIncludeField": false, diff --git a/etc/nodeCORSProxy.js b/etc/nodeCORSProxy.js index dc3b454e7..be7c16053 100644 --- a/etc/nodeCORSProxy.js +++ b/etc/nodeCORSProxy.js @@ -5,9 +5,9 @@ var http = require('http'), httpProxy = require('http-proxy'); var proxy = httpProxy.createProxyServer({ - target: 'http://192.168.99.100:8042', + target: 'http://localhost:8042', auth: 'orthanc:orthanc' -}).listen(8042); +}).listen(8043); proxy.on('proxyRes', function(proxyReq, req, res, options) { // add the CORS header to the response