diff --git a/src/client.ts b/src/client.ts index db9b5d7..5d8ee73 100644 --- a/src/client.ts +++ b/src/client.ts @@ -112,6 +112,9 @@ export class CompanionSatelliteClient extends EventEmitter { ctx.body = this.client.port }) + this.router.get('/api/connected', (ctx) => { + ctx.body = this.client.connected + }) this.router.get('/api/config', (ctx) => { ctx.body = { host: this.client.host, port: this.client.port } })