mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Create a new angularjs module: OFNShared
- This module could be shared between Darkswarm and admin - add this new module to test environment
This commit is contained in:
4
app/assets/javascripts/shared/shared.js.coffee
Normal file
4
app/assets/javascripts/shared/shared.js.coffee
Normal file
@@ -0,0 +1,4 @@
|
||||
window.OFNShared = angular.module("OFNShared", [
|
||||
|
||||
]).config ($httpProvider) ->
|
||||
$httpProvider.defaults.headers.common["Accept"] = "application/json, text/javascript, */*"
|
||||
Reference in New Issue
Block a user