[mirotalksfu] - fix

هذا الالتزام موجود في:
Miroslav Pejic
2024-10-07 11:22:02 +02:00
الأصل 181cb7408f
التزام f667a047eb

عرض الملف

@@ -424,7 +424,7 @@ function startServer() {
// main page // main page
app.get(['/'], OIDCAuth, (req, res) => { app.get(['/'], OIDCAuth, (req, res) => {
//log.debug('/ - hostCfg ----->', hostCfg); //log.debug('/ - hostCfg ----->', hostCfg);
if ((!OIDC.enabled && hostCfg.protected && !hostCfg.authenticated) || authHost.isRoomActive()) { if ((!OIDC.enabled && hostCfg.protected) || authHost.isRoomActive()) {
const ip = getIP(req); const ip = getIP(req);
if (allowedIP(ip)) { if (allowedIP(ip)) {
res.sendFile(views.landing); res.sendFile(views.landing);