summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/app/scripts/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/pages/app/scripts/config.js')
-rw-r--r--utils/test/reporting/pages/app/scripts/config.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/utils/test/reporting/pages/app/scripts/config.js b/utils/test/reporting/pages/app/scripts/config.js
index 838460a38..1010169d3 100644
--- a/utils/test/reporting/pages/app/scripts/config.js
+++ b/utils/test/reporting/pages/app/scripts/config.js
@@ -7,8 +7,13 @@
* Main config file of the application.
*/
angular
- .module('opnfvApp').config(function () {
+ .module('opnfvApp').config(['$httpProvider', '$qProvider', function($httpProvider, $qProvider) {
- }
+ $httpProvider.defaults.useXDomain = true;
+ delete $httpProvider.defaults.headers.common['X-Requested-With'];
- )
+ $qProvider.errorOnUnhandledRejections(false);
+
+ }
+
+ ]); \ No newline at end of file