Only one config for client and server.
This commit is contained in:
parent
46717e14ae
commit
a2723c6b12
8 changed files with 62 additions and 28 deletions
app
|
@ -44,7 +44,6 @@
|
|||
<!-- build:js scripts/scripts.js -->
|
||||
<script src="scripts/app.js"></script>
|
||||
<script src="scripts/libs.js"></script>
|
||||
<script src="scripts/config.js"></script>
|
||||
|
||||
<script src="scripts/controllers/main.js"></script>
|
||||
<script src="scripts/controllers/newNodeCtrl.js"></script>
|
||||
|
@ -60,5 +59,7 @@
|
|||
|
||||
<script src="scripts/validation/constraints.js"></script>
|
||||
<!-- endbuild -->
|
||||
|
||||
<script src="config.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.factory('config', function () {
|
||||
return {
|
||||
community: {
|
||||
name: 'Freifunk Hamburg',
|
||||
domain: 'hamburg.freifunk.net',
|
||||
contactEmail: 'kontakt@hamburg.freifunk.net'
|
||||
},
|
||||
map: {
|
||||
graphUrl: 'http://graph.hamburg.freifunk.net/graph.html',
|
||||
mapUrl: 'http://graph.hamburg.freifunk.net/geomap.html'
|
||||
},
|
||||
coordsSelector: {
|
||||
lat: 53.565278,
|
||||
lng: 10.001389,
|
||||
defaultZoom: 10
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue