diff --git a/server/http.js b/server/http.js index 8b7687a3..685e69de 100644 --- a/server/http.js +++ b/server/http.js @@ -45,6 +45,7 @@ app.use((req, res, next) => { // routes app.get('/parser/parse', require('./routes/parse')) app.use('/demo', express.static(path.join(__dirname, '/demo'))) +app.use('/', (req, res) => { res.redirect('/demo') }) // start multi-threaded server if (cpus > 1) {