mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
26 lines
597 B
JavaScript
26 lines
597 B
JavaScript
// todo: use import assertions once they're supported by Node.js & ESLint
|
|
// https://github.com/tc39/proposal-import-assertions
|
|
import {createRequire} from 'module'
|
|
const require = createRequire(import.meta.url)
|
|
|
|
const baseProfile = require('./base.json')
|
|
import {products} from './products.js'
|
|
|
|
const profile = {
|
|
...baseProfile,
|
|
locale: 'en-IE',
|
|
timezone: 'Europe/Dublin',
|
|
defaultLanguage: 'ga',
|
|
salt: Buffer.from('i5s7m3q9z6b4k1c2', 'utf8'),
|
|
addMicMac: true,
|
|
|
|
products: products,
|
|
|
|
refreshJourney: false, // fails with `CGI_READ_FAILED`
|
|
trip: true,
|
|
radar: true,
|
|
}
|
|
|
|
export {
|
|
profile,
|
|
}
|