mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
adapt VBB profile to server changes
This commit is contained in:
parent
042668ff56
commit
ca75c4407d
2 changed files with 4 additions and 9 deletions
|
@ -1,16 +1,15 @@
|
||||||
{
|
{
|
||||||
"auth": {
|
"auth": {
|
||||||
"type": "AID",
|
"type": "AID",
|
||||||
"aid": "hafas-vbb-apps"
|
"aid": "hafas-vbb-webapp"
|
||||||
},
|
},
|
||||||
"client": {
|
"client": {
|
||||||
"type": "IPA",
|
"type": "WEB",
|
||||||
"id": "VBB",
|
"id": "VBB",
|
||||||
"v": "4010300",
|
"name": "VBB WebApp",
|
||||||
"name": "vbbPROD"
|
"l": "vs_webapp_vbb"
|
||||||
},
|
},
|
||||||
"endpoint": "https://fahrinfo.vbb.de/bin/mgate.exe",
|
"endpoint": "https://fahrinfo.vbb.de/bin/mgate.exe",
|
||||||
"ext": "VBB.1",
|
|
||||||
"ver": "1.45",
|
"ver": "1.45",
|
||||||
"defaultLanguage": "de"
|
"defaultLanguage": "de"
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,10 +93,6 @@ const vbbProfile = {
|
||||||
...baseProfile,
|
...baseProfile,
|
||||||
locale: 'de-DE',
|
locale: 'de-DE',
|
||||||
timezone: 'Europe/Berlin',
|
timezone: 'Europe/Berlin',
|
||||||
// https://gist.github.com/derhuerst/a8d94a433358abc015ff77df4481070c#file-haf_config_base-properties-L39
|
|
||||||
// https://runkit.com/derhuerst/hafas-decrypt-encrypted-mac-salt
|
|
||||||
salt: Buffer.from('RCTJM2fFxFfxxQfI', 'utf8'),
|
|
||||||
addMicMac: true,
|
|
||||||
|
|
||||||
products: products,
|
products: products,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue