Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit d4803bb1ce9054fc8661d10151d3a39b52330376 1 parent 6fbcbcc
@jfhbrook authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.md
View
5 README.md
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.