Removed copyrighted images and setup folder
diff --git a/applications/mCordPortal/bs-config.js b/applications/mCordPortal/bs-config.js
index e7820dc..7d88e52 100644
--- a/applications/mCordPortal/bs-config.js
+++ b/applications/mCordPortal/bs-config.js
@@ -28,10 +28,12 @@
});
proxy.on('error', function(error, req, res) {
- res.writeHead(500, {
- 'Content-Type': 'text/plain'
- });
+ console.log('------------------------------------------------------');
+ // res.writeHead(500, {
+ // 'Content-Type': 'text/plain'
+ // });
console.error('[Proxy]', error);
+ console.log('------------------------------------------------------');
});
module.exports = {
@@ -62,6 +64,7 @@
req.headers['x-csrftoken'] = req.headers['x-csrftoken'];
req.headers.cookie = `xoscsrftoken=${req.headers['x-csrftoken']}; xossessionid=${req.headers['sessionid']}`;
}
+ console.log(`proxied: ${req.url}`, req.headers['x-csrftoken'], req.headers.cookie);
proxy.web(req, res);
}
else{