Permalink
Browse files

Removing middleware dependency

  • Loading branch information...
1 parent ce07cc3 commit 058405198762cad7ca83994d19247512575b6ef6 @pkrefta pkrefta committed Jul 2, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 README.md
View
@@ -30,14 +30,12 @@ In addition, the response object passed to middlewares listens for a "next" even
``` js
var fs = require('fs'),
union = require('../lib'),
- director = require('director'),
- favicon = require('./middleware/favicon');
+ director = require('director');
var router = new director.http.Router();
var server = union.createServer({
before: [
- favicon('./favicon.png'),
function (req, res) {
var found = router.dispatch(req, res);
if (!found) {

0 comments on commit 0584051

Please sign in to comment.