Skip to content

Commit

Permalink
Edited user_manual.md via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
ericz committed Mar 11, 2011
1 parent 100ae59 commit 7357b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_manual.md
Expand Up @@ -10,7 +10,7 @@ Setup on the server
-------------------
NowJS needs an instance of a node.js http server in order to communicate. If your application is already using an http server, NowJS can use the existing instance. Otherwise, you will need to create one. Here's an example server:

var yourHttpServer = require('http').createServer(function(req, response){ // Serve your static files });
var yourHttpServer = require('http').createServer(function(req, response){ /* Serve your static files */ });
yourHttpServer.listen(8080);

At the top of your code, place the following:
Expand Down

0 comments on commit 7357b8e

Please sign in to comment.