mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
3 lines
293 B
CoffeeScript
3 lines
293 B
CoffeeScript
window.Admin = angular.module("ofn.admin", ["ngResource","ofn.dropdown"]).config ($httpProvider) ->
|
|
$httpProvider.defaults.headers.common["X-CSRF-Token"] = $("meta[name=csrf-token]").attr("content")
|
|
$httpProvider.defaults.headers.common["Accept"] = "application/json, text/javascript, */*" |