Skip to content

Instantly share code, notes, and snippets.

@robi42
Created August 21, 2011 18:09
Show Gist options
  • Save robi42/1160932 to your computer and use it in GitHub Desktop.
Save robi42/1160932 to your computer and use it in GitHub Desktop.
exports.app = (req) ->
status: 200
headers:
'Content-Type': 'text/plain'
body: ['Hello World!']
if require.main is module
require('ringo/httpserver').main module.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment