I want the browser to display the content of the HTML page and not the name.
On Thursday, September 12, 2013 11:03:40 AM UTC-7, Mark Hahn wrote: > > correction: Change it to `res.end(MyFileName + '\n');` where MyFileName > contains the name of the file you want. > > BTW, I have no idea why you want to return a file name. You will just see > that name on your browser page. > > > On Thu, Sep 12, 2013 at 11:01 AM, Mark Hahn <[email protected]<javascript:> > > wrote: > >> Just use the http server example on the node front page and change >> `res.end('Hello World\n'` to `res.end('MyFileName\n');` >> >> > -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
