Permalink
Browse files

serve index.html

  • Loading branch information...
1 parent 628dcc4 commit 6bb256ccfc0e17472f901b91e93f87a03bb98d16 @devpaul committed Jul 15, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −1 lib/commands/createMiddlewareCmd.js
  2. +1 −0 test/assets/useIndex/index.html
@@ -28,8 +28,8 @@ function registerStaticContent(app, config) {
var dirOptions = { icons : true }
, folder = path.resolve(config.folder)
- app.use(express.directory(folder, dirOptions))
app.use(express.static(folder))
+ app.use(express.directory(folder, dirOptions))
}
module.exports = createExpressMiddlewareCmd
@@ -0,0 +1 @@
+It Worked!

0 comments on commit 6bb256c

Please sign in to comment.