Skip to content

Commit

Permalink
[doc] flatiron.plugins.http needs union in order to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhbrook committed Jan 15, 2012
1 parent 6fbcbcc commit d4803bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand All @@ -25,7 +25,7 @@ console.log('Listening on :8080');

``` js
var union = require('union');
var ecstatic = require('../');
var ecstatic = require('ecstatic');

union.createServer({
before: [
Expand All @@ -39,6 +39,7 @@ console.log('Listening on :8080');
## flatiron

``` js
var union = require('union');
var flatiron = require('flatiron');
var ecstatic = require('ecstatic');

Expand Down

0 comments on commit d4803bb

Please sign in to comment.