Skip to content

Instantly share code, notes, and snippets.

@jondot
Created November 3, 2011 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jondot/1336935 to your computer and use it in GitHub Desktop.
Save jondot/1336935 to your computer and use it in GitHub Desktop.
connect = require 'connect'
s = connect.createServer(connect.logger())
s.listen(4000)
null_resp = (req, res )->
res.end("")
s.use '/', null_resp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment