Permalink
Browse files

[doc] `flatiron.plugins.http` needs union in order to work.

  • Loading branch information...
1 parent 6fbcbcc commit d4803bb1ce9054fc8661d10151d3a39b52330376 @jfhbrook jfhbrook committed Jan 15, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
@@ -12,7 +12,7 @@ A simple static file server middleware that works with both Express and Flatiron
``` js
var express = require('express');
-var ecstatic = require('../');;
+var ecstatic = require('ecstatic');
var app = express.createServer();
app.use(ecstatic(__dirname + '/public'));
@@ -25,7 +25,7 @@ console.log('Listening on :8080');
``` js
var union = require('union');
-var ecstatic = require('../');
+var ecstatic = require('ecstatic');
union.createServer({
before: [
@@ -39,6 +39,7 @@ console.log('Listening on :8080');
## flatiron
``` js
+var union = require('union');
var flatiron = require('flatiron');
var ecstatic = require('ecstatic');

0 comments on commit d4803bb

Please sign in to comment.