You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 14:11:59 +01:00
consoleCmd fix for 1st time setup
This commit is contained in:
7
index.js
7
index.js
@@ -100,6 +100,10 @@ function authenticateWithXdrd(client, salt, password) {
|
||||
client.write('x\n');
|
||||
}
|
||||
|
||||
if(serverConfig.identification.tunerName.includes('zvartoshu')) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
// xdrd connection
|
||||
if (serverConfig.xdrd.xdrdPassword.length > 1) {
|
||||
client.connect(serverConfig.xdrd.xdrdPort, serverConfig.xdrd.xdrdIp, () => {
|
||||
@@ -241,7 +245,8 @@ app.get('/', (req, res) => {
|
||||
res.render('setup', {
|
||||
isAdminAuthenticated: true,
|
||||
videoDevices: result.audioDevices,
|
||||
audioDevices: result.videoDevices });
|
||||
audioDevices: result.videoDevices,
|
||||
consoleOutput: consoleCmd.logs });
|
||||
});;
|
||||
} else {
|
||||
res.render('index', {
|
||||
|
||||
Reference in New Issue
Block a user