|
|
|
|
@ -173,11 +173,6 @@ app.get(['/privacy'], (req, res) => {
|
|
|
|
|
res.sendFile(view.privacy);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// not match any of page before, so 404 not found
|
|
|
|
|
app.get('*', function (req, res) {
|
|
|
|
|
res.sendFile(view.notFound);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// ####################################################
|
|
|
|
|
// API
|
|
|
|
|
// ####################################################
|
|
|
|
|
@ -238,6 +233,11 @@ app.post(['/api/v1/join'], (req, res) => {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// not match any of page before, so 404 not found
|
|
|
|
|
app.get('*', function (req, res) {
|
|
|
|
|
res.sendFile(view.notFound);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// ####################################################
|
|
|
|
|
// NGROK
|
|
|
|
|
// ####################################################
|
|
|
|
|
|