Commit c407a326 by Johannes Zellner

Remove commented route

1 parent 92e8e57f
Showing with 0 additions and 2 deletions
......@@ -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');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!