mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
5 lines
430 B
CoffeeScript
5 lines
430 B
CoffeeScript
window.Darkswarm = angular.module("Darkswarm", ["ngResource", "filters", 'mm.foundation', 'pasvaz.bindonce', 'infinite-scroll']).config ($httpProvider) ->
|
|
$httpProvider.defaults.headers.post['X-CSRF-Token'] = $('meta[name="csrf-token"]').attr('content')
|
|
$httpProvider.defaults.headers['common']['X-Requested-With'] = 'XMLHttpRequest'
|
|
$httpProvider.defaults.headers.common.Accept = "application/json, text/javascript, */*"
|