filo_caspar/api/engine/routes.mjs

10 lines
159 B
JavaScript
Raw Normal View History

2016-04-14 04:01:51 +00:00
2018-06-26 18:35:12 +00:00
/*
* Event: 'engine.all'
*
* Return all supported graphic engines.
*/
2016-04-14 04:01:51 +00:00
export function all(ctx) {
2018-06-26 18:35:12 +00:00
ctx.socket.emit('engine.all', ['text', 'countdown'])
2016-04-14 04:01:51 +00:00
}