Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
logging at "minimal api" example
Browse files Browse the repository at this point in the history
  • Loading branch information
mvrilo committed Dec 11, 2011
1 parent 34a9f43 commit b05e9e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/minimal-hello-world.js
@@ -1,5 +1,6 @@
var f = require('../lib/frank'), server = f(),
get = server.get, run = server.run;
var f = require('../lib/frank').createServer(),
get = f.get, log = f.log, run = f.run;

get('/').send('minimal api ftw');
log('tiny');
run(8000);

0 comments on commit b05e9e3

Please sign in to comment.