Permalink
Browse files

Added favicon.js example

  • Loading branch information...
1 parent 6d723ab commit 5f60fd2152bdf9f43c75c41857214b27998efc1a @tj tj committed Feb 23, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 examples/favicon.js
View
12 examples/favicon.js
@@ -0,0 +1,12 @@
+
+/**
+ * Module dependencies.
+ */
+
+var connect = require('../');
+
+// $ curl -i http://localhost:3000/favicon.ico
+
+connect.createServer(
+ connect.favicon()
+).listen(3000);

0 comments on commit 5f60fd2

Please sign in to comment.