[CORD-2277] Two stage delete for models
Change-Id: Ic1b1d59a9f1d6d963d10951e694cf963f41d84d5
(cherry picked from commit e9cdf9ab429f1899b88552d8b0fd177c7cde9c94)
diff --git a/conf/proxy.js b/conf/proxy.js
index e383c27..41a07b6 100644
--- a/conf/proxy.js
+++ b/conf/proxy.js
@@ -26,31 +26,11 @@
target: `http://${target}`
});
-const extensionsProxy = httpProxy.createProxyServer({
- target: `http://${target}/xos/`
-});
-
-const socketProxy = httpProxy.createProxyServer({
- target: `http://${target}/`
-});
-
proxy.on('error', function(error, req, res) {
res.writeHead(500, {'Content-Type': 'text/plain'});
console.error('[Proxy]', error);
});
-extensionsProxy.on('error', function(error, req, res) {
- res.writeHead(500, {'Content-Type': 'text/plain'});
- console.error('[extensionsProxy]', error);
-});
-
-socketProxy.on('error', function(error, req, res) {
- res.writeHead(500, {'Content-Type': 'text/plain'});
- console.error('[socketProxy]', error);
-});
-
module.exports = {
- proxy,
- extensionsProxy,
- socketProxy
+ proxy
};
\ No newline at end of file