mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
The default logic for how rejected promises are handled has changed slightly. This reinstates the previous default behaviour.
17 lines
473 B
CoffeeScript
17 lines
473 B
CoffeeScript
angular.module("ofn.admin", [
|
|
"ngResource",
|
|
"mm.foundation",
|
|
"angularFileUpload",
|
|
"ngAnimate",
|
|
"admin.utils",
|
|
"admin.indexUtils",
|
|
"admin.dropdown",
|
|
"admin.products",
|
|
"admin.taxons",
|
|
"infinite-scroll",
|
|
"admin.orders"
|
|
]).config ($httpProvider, $locationProvider, $qProvider) ->
|
|
$httpProvider.defaults.headers.common["Accept"] = "application/json, text/javascript, */*"
|
|
$locationProvider.hashPrefix('')
|
|
$qProvider.errorOnUnhandledRejections(false)
|