[mirotalksfu] - fix host login

main
Miroslav Pejic 4 years ago
parent 783a39d083
commit e5cf69c9c8

@ -86,7 +86,6 @@ app.get(['/login'], (req, res) => {
hostCfg.authenticated = true; hostCfg.authenticated = true;
res.sendFile(path.join(__dirname, '../../', 'public/view/landing.html')); res.sendFile(path.join(__dirname, '../../', 'public/view/landing.html'));
} else { } else {
hostCfg.authenticated = false;
res.sendFile(path.join(__dirname, '../../', 'public/view/login.html')); res.sendFile(path.join(__dirname, '../../', 'public/view/login.html'));
} }
}); });

Loading…
Cancel
Save