I've to create a server just to read a file??? I'm getting trouble with
this, because always when i call a URL i create a server, because i put
this inside of s function:
http.createServer(function(request, response) { response.writeHeader(200, {
"Content-Type": "text/html"}); response.write(html); response.end();
}).listen(8000);
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en