Skip to content

Commit

Permalink
sandbox-team#13 map frontend routes on backend
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4ok committed Sep 11, 2013
1 parent 972a883 commit fb552c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down

0 comments on commit fb552c5

Please sign in to comment.