summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/app/scripts/config.js
blob: 1010169d35ac091b3d81d3b8d0d2c0ccfb94438c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @ngdoc overview
 * @name opnfvApp
 * @description
 * # opnfvApp
 *
 * Main config file of the application.
 */
angular
    .module('opnfvApp').config(['$httpProvider', '$qProvider', function($httpProvider, $qProvider) {

            $httpProvider.defaults.useXDomain = true;
            delete $httpProvider.defaults.headers.common['X-Requested-With'];

            $qProvider.errorOnUnhandledRejections(false);

        }

    ]);