Authored by xuqi

simplify router entry

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