publish event to all models involved
Change-Id: I869692fbababaa881ce2a0fc8f2ef6add5c7c243
diff --git a/conf/browsersync.conf.js b/conf/browsersync.conf.js
index dd7acd5..d820bb6 100644
--- a/conf/browsersync.conf.js
+++ b/conf/browsersync.conf.js
@@ -1,5 +1,6 @@
const conf = require('./gulp.conf');
-const proxy = require('./proxy');
+const proxy = require('./proxy').proxy;
+const extensionsProxy = require('./proxy').extensionsProxy;
module.exports = function () {
return {
@@ -12,6 +13,9 @@
if (req.url.indexOf('xosapi') !== -1) {
proxy.web(req, res);
}
+ // else if (req.url.indexOf('extensions') !== -1) {
+ // extensionsProxy.web(req, res);
+ // }
else{
next();
}