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 = {
|
||||
profiles: [
|
||||
'trekking',
|
||||
'fastbike',
|
||||
'shortest',
|
||||
'all',
|
||||
/* "does not contain expressions for context node" (?)
|
||||
'softaccess',
|
||||
*/
|
||||
'moped',
|
||||
'car-test'
|
||||
]
|
||||
};
|
||||
(function() {
|
||||
|
||||
var hostname = window.location.hostname;
|
||||
|
||||
BR.conf = {};
|
||||
|
||||
if (hostname === 'brouter.de' || hostname === 'h2096617.stratoserver.net') {
|
||||
|
||||
// online service (brouter.de) configuration
|
||||
|
||||
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