Skip to content

Instantly share code, notes, and snippets.

@rixth
Created September 28, 2010 01:52
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 rixth/600264 to your computer and use it in GitHub Desktop.
Save rixth/600264 to your computer and use it in GitHub Desktop.
var meryl = require('./vendor/meryl');
meryl.h('GET /hello/{a}/{b}/{c}', function () {
this.send(this.params.a + this.params.b + this.params.c);
});
require('http').createServer(meryl.cgi()).listen(3000);
@kadirpekel
Copy link

Thank you Tom, fixed by Meryl@v0.3.1

Here is the bug fix http://github.com/coffeemate/meryl/commit/338533f2fbdc16f45607fc8af2ba42e90ab204f3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment