Add configuration option for DIMSE connections to fix connections to DCM4CHEE (#23)
This commit is contained in:
1 parent
3e4b66cfcd
commit
804488458c
5 files changed
+72
-16
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user