Skip to content
This repository
Browse code

Added favicon.js example

  • Loading branch information...
commit 5f60fd2152bdf9f43c75c41857214b27998efc1a 1 parent 6d723ab
TJ Holowaychuk authored February 22, 2011

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. 12  examples/favicon.js
12  examples/favicon.js
... ...
@@ -0,0 +1,12 @@
  1
+
  2
+/**
  3
+ * Module dependencies.
  4
+ */
  5
+
  6
+var connect = require('../');
  7
+
  8
+// $ curl -i http://localhost:3000/favicon.ico
  9
+
  10
+connect.createServer(
  11
+  connect.favicon()
  12
+).listen(3000);

0 notes on commit 5f60fd2

Please sign in to comment.
Something went wrong with that request. Please try again.