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:
Jean-Baptiste Bellet
2021-03-02 16:04:15 +01:00
parent 33f7fa7e32
commit 429cf4a5cb
4 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
window.OFNShared = angular.module("OFNShared", [
]).config ($httpProvider) ->
$httpProvider.defaults.headers.common["Accept"] = "application/json, text/javascript, */*"