diff --git a/server.js b/server.js index d4cdf66..f3886b1 100644 --- a/server.js +++ b/server.js @@ -24,7 +24,7 @@ app .use(express.cookieParser()) .use(app.router); -app.get('/', function(req, res){ +app.get(/^\/(:?(:?details|edit)?\/.+)?$/i, function(req, res){ res.render('index'); });