Add configuration option for DIMSE connections to fix connections to DCM4CHEE (#23)

This commit is contained in:
Erik Ziegler committed 2016-08-07 22:44:25 +02:00
1 parent 3e4b66cfcd
commit 804488458c
5 files changed
+72 -16

No files matched your search

+2 -3
View File
@@ -5,14 +5,13 @@ var http = require('http'),
httpProxy = require('http-proxy');
var proxy = httpProxy.createProxyServer({
target: 'http://192.168.99.100:8080',
target: 'http://localhost:8080',
auth: 'user:user'
}).listen(8080);
}).listen(8043);
proxy.on('proxyRes', function(proxyReq, req, res, options) {
// add the CORS header to the response
res.setHeader('Access-Control-Allow-Origin', '*');
console.log(proxyReq);
});
proxy.on('error', function(e) {