mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
2 lines
280 B
CoffeeScript
2 lines
280 B
CoffeeScript
angular.module("admin.utils", ["templates", "ngSanitize"]).config ($httpProvider) ->
|
|
$httpProvider.defaults.headers.common["X-CSRF-Token"] = $("meta[name=csrf-token]").attr("content");
|
|
$httpProvider.defaults.headers.common["Accept"] = "application/json, text/javascript, */*";
|