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{
diff --git a/applications/mCordPortal/env/default.js b/applications/mCordPortal/env/default.js
index dd26be6..e94aeb2 100644
--- a/applications/mCordPortal/env/default.js
+++ b/applications/mCordPortal/env/default.js
@@ -7,5 +7,5 @@
// (works only for local environment as both application are served on the same domain)
module.exports = {
- host: 'http://clnode067.clemson.cloudlab.us:9999/'
+ host: 'http://10.128.13.3:8000/'
};
diff --git a/applications/mCordPortal/env/local.js b/applications/mCordPortal/env/local.js
index 391c8e7..c256c05 100644
--- a/applications/mCordPortal/env/local.js
+++ b/applications/mCordPortal/env/local.js
@@ -7,5 +7,5 @@
// (works only for local environment as both application are served on the same domain)
module.exports = {
- host: 'http://xos.local:9999/'
+ host: 'http://xos.dev:9999/'
};
diff --git a/applications/mCordPortal/src/app/fw/services/rest.js b/applications/mCordPortal/src/app/fw/services/rest.js
index 198d8c4..7d62a5e 100644
--- a/applications/mCordPortal/src/app/fw/services/rest.js
+++ b/applications/mCordPortal/src/app/fw/services/rest.js
@@ -39,7 +39,7 @@
var user;
// logging in the user
- $http.post(cordConfig.url + '/xoslib/login/', {username: username, password: password})
+ $http.post(cordConfig.url + '/api/utility/login/', {username: username, password: password})
.then(function(res){
$cookies.put('user', res.data.user);
$cookies.put('sessionid', res.data.xossessionid);
diff --git a/applications/mCordPortal/src/imgs/student1bk.jpg b/applications/mCordPortal/src/imgs/student1bk.jpg
deleted file mode 100644
index cda6c18..0000000
--- a/applications/mCordPortal/src/imgs/student1bk.jpg
+++ /dev/null
Binary files differ
diff --git a/applications/mCordPortal/src/imgs/student2bk.jpg b/applications/mCordPortal/src/imgs/student2bk.jpg
deleted file mode 100644
index 684d181..0000000
--- a/applications/mCordPortal/src/imgs/student2bk.jpg
+++ /dev/null
Binary files differ
diff --git a/applications/mCordPortal/src/imgs/student3bk.jpg b/applications/mCordPortal/src/imgs/student3bk.jpg
deleted file mode 100644
index 0a8a034..0000000
--- a/applications/mCordPortal/src/imgs/student3bk.jpg
+++ /dev/null
Binary files differ
diff --git a/applications/mCordPortal/src/imgs/student4bk.jpg b/applications/mCordPortal/src/imgs/student4bk.jpg
deleted file mode 100644
index 543b865..0000000
--- a/applications/mCordPortal/src/imgs/student4bk.jpg
+++ /dev/null
Binary files differ