html5-infobeamer-aalen-geek.../assets/js/custom/core/config.js

12 lines
478 B
JavaScript
Raw Normal View History

2023-11-01 01:59:19 +01:00
import * as params from '@params';
// Values injected from Hugo configuration
window.informationProjectorConfig = new Map();
window.informationProjectorConfig.set('workerBaseURL', params.workerBaseURL);
window.informationProjectorConfig.set('scheduleURL', params.scheduleURL);
window.informationProjectorConfig.set('scheduleFetchInterval', params.scheduleFetchInterval);
console.info('Information Projector Configuration: ');
console.info(window.informationProjectorConfig);