Expose whether cluster mode is enabled over /api/instance/config

This commit is contained in:
knotteye committed 2020-10-17 22:08:56 -05:00
1 parent 01744df3cd
commit ab9a9b4585
2 files changed
+2

No files matched your search

+1
View File
@@ -168,6 +168,7 @@ async function initAPI() {
app.get('/api/instance/config', (req, res) => {
res.json({
rtmp: {
cluster: config['rtmp']['cluster'],
port: config['rtmp']['port'],
ping_timeout: config['rtmp']['ping_timeout']
},