Authored by xuqi

simplify router entry

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -30,7 +30,7 @@ app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));
// router
app.use('/', require('./router'));
app.use(require('./router'));
// listener
app.listen(3000, function() {
... ...