adapt VBB profile to server changes

This commit is contained in:
Jannis R 2021-09-21 14:32:11 +02:00
parent 042668ff56
commit ca75c4407d
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 4 additions and 9 deletions

View file

@ -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"
} }

View file

@ -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,