profile config for online service (brouter.de)
This commit is contained in:
parent
0e77fc6c6e
commit
57414cff59
1 changed files with 44 additions and 13 deletions
57
config.js
57
config.js
|
|
@ -1,13 +1,44 @@
|
||||||
BR.conf = {
|
(function() {
|
||||||
profiles: [
|
|
||||||
'trekking',
|
var hostname = window.location.hostname;
|
||||||
'fastbike',
|
|
||||||
'shortest',
|
BR.conf = {};
|
||||||
'all',
|
|
||||||
/* "does not contain expressions for context node" (?)
|
if (hostname === 'brouter.de' || hostname === 'h2096617.stratoserver.net') {
|
||||||
'softaccess',
|
|
||||||
*/
|
// online service (brouter.de) configuration
|
||||||
'moped',
|
|
||||||
'car-test'
|
BR.conf.profiles = [
|
||||||
]
|
'trekking',
|
||||||
};
|
'fastbike',
|
||||||
|
'shortest',
|
||||||
|
'shortest-eudem',
|
||||||
|
'all',
|
||||||
|
/* "does not contain expressions for context node" (?)
|
||||||
|
'softaccess',
|
||||||
|
*/
|
||||||
|
'moped',
|
||||||
|
'car-test',
|
||||||
|
'vm-forum-liegerad-schnell',
|
||||||
|
'vm-forum-velomobil-schnell'
|
||||||
|
];
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
// desktop configuration
|
||||||
|
|
||||||
|
BR.conf.profiles = [
|
||||||
|
'trekking',
|
||||||
|
'fastbike',
|
||||||
|
'shortest',
|
||||||
|
'all',
|
||||||
|
/* "does not contain expressions for context node" (?)
|
||||||
|
'softaccess',
|
||||||
|
*/
|
||||||
|
'moped',
|
||||||
|
'car-test'
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
})();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue