[mirotalk] - fix 404 page not found
This commit is contained in:
+5
-5
@@ -160,11 +160,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'));
|
||||
});
|
||||
|
||||
/**
|
||||
MiroTalk API v1
|
||||
The response will give you a entrypoint / Room URL for your meeting.
|
||||
@@ -210,6 +205,11 @@ function getMeetingURL(host) {
|
||||
|
||||
// end of MiroTalk API v1
|
||||
|
||||
// not match any of page before, so 404 not found
|
||||
app.get('*', function (req, res) {
|
||||
res.sendFile(path.join(__dirname, '../../', 'public/view/404.html'));
|
||||
});
|
||||
|
||||
/**
|
||||
* You should probably use a different stun-turn server
|
||||
* doing commercial stuff, also see:
|
||||
|
||||
Reference in New Issue
Block a user