Created
July 26, 2010 22:58
-
-
Save bcurren/491404 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// where to open connection to db now? | |
module.exports = http.createServer(function(req, res) { | |
try { | |
agent_smith.serveRequest(req, res); | |
} catch(e) { | |
agent_smith.handleError(req, res, e); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment