fix: removed "/test" route from application

This commit is contained in:
jeremyito07
2023-12-15 18:35:18 +05:30
parent 773e8b8dbb
commit c4507dd06b
-3
View File
@@ -172,9 +172,6 @@ app.get('/', function (req, res) {
// There will be a test page available on the /test path of your server url
// Remove this before launching your app
app.get('/test', function (req, res) {
res.sendFile(path.join(__dirname, '/public/test.html'));
});
if (!process.env.TESTING) {
const port = process.env.PORT || 8080;