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