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
server
|
@ -2,7 +2,25 @@
|
|||
|
||||
angular.module('ffffng').factory('config', function () {
|
||||
return {
|
||||
port: 8080,
|
||||
peersPath: '/tmp/peers'
|
||||
server: {
|
||||
port: 8080,
|
||||
peersPath: '/tmp/peers'
|
||||
},
|
||||
client: {
|
||||
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