diff --git a/app.js b/app.js index f9a67467c..811cbbc3b 100644 --- a/app.js +++ b/app.js @@ -1,4 +1,3 @@ - /** * Module dependencies */ @@ -43,6 +42,7 @@ if (app.get('env') === 'production') { // serve index and view partials app.get('/', routes.index); +app.get('/:name', routes.index); app.get('/partials/:name', routes.partials); // JSON API