Skip to content

Instantly share code, notes, and snippets.

@colingourlay
Created July 2, 2010 06: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 colingourlay/461032 to your computer and use it in GitHub Desktop.
Save colingourlay/461032 to your computer and use it in GitHub Desktop.
require('jimi').run({
url_conf: require('./urls')
});
var jimi = require('jimi');
exports.hello_world = function (req, res) {
jimi.respond(res, 'Hello World');
}
var handlers = require('./handlers');
exports.mappings = [
['^$', handlers.hello_world]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment