diff --git a/app/src/server.js b/app/src/server.js index 5e260033..40ff1c33 100755 --- a/app/src/server.js +++ b/app/src/server.js @@ -39,7 +39,7 @@ dependencies: { * @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.78 + * @version 1.3.79 * */ @@ -467,14 +467,14 @@ app.get('/logout', (req, res) => { // main page app.get(['/'], OIDCAuth, (req, res) => { - if ((!OIDC.enabled && hostCfg.protected && !hostCfg.authenticated) || authHost.isRoomActive()) { + if ((!OIDC.enabled && hostCfg.protected) || authHost.isRoomActive()) { const ip = getIP(req); if (allowedIP(ip)) { res.sendFile(views.landing); hostCfg.authenticated = true; } else { hostCfg.authenticated = false; - res.sendFile(views.login); + res.redirect('/login'); } } else { res.sendFile(views.landing); @@ -483,14 +483,14 @@ app.get(['/'], OIDCAuth, (req, res) => { // set new room name and join app.get(['/newcall'], OIDCAuth, (req, res) => { - if ((!OIDC.enabled && hostCfg.protected && !hostCfg.authenticated) || authHost.isRoomActive()) { + if ((!OIDC.enabled && hostCfg.protected) || authHost.isRoomActive()) { const ip = getIP(req); if (allowedIP(ip)) { res.sendFile(views.newCall); hostCfg.authenticated = true; } else { hostCfg.authenticated = false; - res.sendFile(views.login); + res.redirect('/login'); } } else { res.sendFile(views.newCall); diff --git a/package.json b/package.json index df1e0716..3a1b21d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalk", - "version": "1.3.78", + "version": "1.3.79", "description": "A free WebRTC browser-based video call", "main": "server.js", "scripts": { @@ -41,7 +41,7 @@ "license": "AGPL-3.0", "homepage": "https://github.com/miroslavpejic85/mirotalk", "dependencies": { - "@sentry/node": "^8.32.0", + "@sentry/node": "^8.33.1", "axios": "^1.7.7", "body-parser": "^1.20.3", "colors": "^1.4.0", @@ -55,7 +55,7 @@ "js-yaml": "^4.1.0", "ngrok": "^5.0.0-beta.2", "nodemailer": "^6.9.15", - "openai": "^4.67.0", + "openai": "^4.67.1", "qs": "^6.13.0", "socket.io": "^4.8.0", "swagger-ui-express": "^5.0.1", diff --git a/public/js/client.js b/public/js/client.js index e1b57218..6706b433 100644 --- a/public/js/client.js +++ b/public/js/client.js @@ -15,7 +15,7 @@ * @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.78 + * @version 1.3.79 * */ @@ -10569,7 +10569,7 @@ function showAbout() { Swal.fire({ background: swBg, position: 'center', - title: 'WebRTC P2P v1.3.78', + title: 'WebRTC P2P v1.3.79', imageAlt: 'mirotalk-about', imageUrl: images.about, customClass: { image: 'img-about' },