[mirotalksfu] - fix 404 page not found

هذا الالتزام موجود في:
Miroslav Pejic
2021-10-11 21:19:01 +02:00
الأصل 31c9d16532
التزام ef692fd4f8

عرض الملف

@@ -96,11 +96,6 @@ app.get('/join/*', (req, res) => {
}
});
// not match any of page before, so 404 not found
app.get('*', function (req, res) {
res.sendFile(path.join(__dirname, '../../', 'public/view/404.html'));
});
// ####################################################
// API
// ####################################################
@@ -136,6 +131,11 @@ app.post(['/api/v1/meeting'], (req, res) => {
});
});
// not match any of page before, so 404 not found
app.get('*', function (req, res) {
res.sendFile(path.join(__dirname, '../../', 'public/view/404.html'));
});
// ####################################################
// NGROK
// ####################################################