[mirotalksfu] - fix 404 page not found
هذا الالتزام موجود في:
@@ -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
|
// 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
|
// NGROK
|
||||||
// ####################################################
|
// ####################################################
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم