[mirotalk] - update dep

This commit is contained in:
Miroslav Pejic
2025-03-31 22:37:49 +02:00
parent 4e0dc39afd
commit 9de86e14fa
4 changed files with 9 additions and 19 deletions
+3 -13
View File
@@ -45,7 +45,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.4.94
* @version 1.4.95
*
*/
@@ -425,16 +425,6 @@ app.use((req, res, next) => {
// Mattermost
const mattermost = new mattermostCli(app, mattermostCfg);
// POST start from here...
app.post('*', function (next) {
next();
});
// GET start from here...
app.get('*', function (next) {
next();
});
// Remove trailing slashes in url handle bad requests
app.use((err, req, res, next) => {
if (err instanceof SyntaxError || err.status === 400 || 'body' in err) {
@@ -683,7 +673,7 @@ app.get('/join/:roomId', function (req, res) {
});
// Not specified correctly the room id
app.get('/join/*', function (req, res) {
app.get('/join/\\*', function (req, res) {
res.redirect('/');
});
@@ -969,7 +959,7 @@ function getMeetingURL(host) {
// end of MiroTalk API v1
// not match any of page before, so 404 not found
app.get('*', function (req, res) {
app.get('\\*', function (req, res) {
res.sendFile(views.notFound);
});
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "mirotalk",
"version": "1.4.94",
"version": "1.4.95",
"description": "A free WebRTC browser-based video call",
"main": "server.js",
"scripts": {
@@ -52,7 +52,7 @@
"crypto-js": "^4.2.0",
"dompurify": "^3.2.4",
"dotenv": "^16.4.7",
"express": "^4.21.2",
"express": "^5.1.0",
"express-openid-connect": "^2.18.0",
"he": "^1.2.0",
"helmet": "^8.1.0",
@@ -61,7 +61,7 @@
"jsonwebtoken": "^9.0.2",
"js-yaml": "^4.1.0",
"nodemailer": "^6.10.0",
"openai": "^4.90.0",
"openai": "^4.91.0",
"qs": "^6.14.0",
"socket.io": "^4.8.1",
"swagger-ui-express": "^5.0.1",
+1 -1
View File
@@ -73,7 +73,7 @@ let brand = {
},
about: {
imageUrl: '../images/mirotalk-logo.gif',
title: 'WebRTC P2P v1.4.94',
title: 'WebRTC P2P v1.4.95',
html: `
<button
id="support-button"
+2 -2
View File
@@ -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.4.94
* @version 1.4.95
*
*/
@@ -11064,7 +11064,7 @@ function showAbout() {
Swal.fire({
background: swBg,
position: 'center',
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.4.94',
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.4.95',
imageUrl: brand.about?.imageUrl && brand.about.imageUrl.trim() !== '' ? brand.about.imageUrl : images.about,
customClass: { image: 'img-about' },
html: `