diff --git a/app/src/Server.js b/app/src/Server.js index bf4942d..bb52e57 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -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 // #################################################### diff --git a/public/view/404.html b/public/view/404.html new file mode 100755 index 0000000..2de98f9 --- /dev/null +++ b/public/view/404.html @@ -0,0 +1,154 @@ + + + + + + + + + + + MiroTalk SFU - 404 Page not found. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+

+ Oops!
+ 404 - PAGE NOT FOUND +

+

+

This page you are looking not exist.

+ +
+
+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+ + + +