From c407a3267364ab593f824b0843c79f69aa0b7371 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 17 May 2018 15:13:20 +0200 Subject: Remove commented route --- server.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.js b/server.js index 5814539..f9dd4f5 100755 --- a/server.js +++ b/server.js @@ -35,10 +35,8 @@ router.get ('/api/healthcheck', function (req, res) { res.status(200).send(); // welcome screen in case / does not serve up any file yet function welcomePage(req, res, next) { if (req.path !== '/') return next(); - res.status(200).sendFile(path.join(__dirname, '/frontend/welcome.html')); } -// router.get('/', function (req, res) { res.status(200).sendFile(path.join(__dirname, '/frontend/welcome.html')); }); var rootFolder = path.resolve(__dirname, process.argv[2] || 'files'); -- cgit v1.2.3