publish event to all models involved
Change-Id: I869692fbababaa881ce2a0fc8f2ef6add5c7c243
diff --git a/conf/proxy.js b/conf/proxy.js
index 6a7e8b0..fedbf72 100644
--- a/conf/proxy.js
+++ b/conf/proxy.js
@@ -4,6 +4,10 @@
target: 'http://192.168.46.100:9101'
});
+const extensionsProxy = httpProxy.createProxyServer({
+ target: 'http://192.168.46.100/spa/'
+});
+
proxy.on('error', function(error, req, res) {
res.writeHead(500, {
'Content-Type': 'text/plain'
@@ -11,4 +15,7 @@
console.error('[Proxy]', error);
});
-module.exports = proxy;
\ No newline at end of file
+module.exports = {
+ proxy,
+ extensionsProxy
+};
\ No newline at end of file