From afead043df5d0f83daeaff4542c140a9b750203a Mon Sep 17 00:00:00 2001 From: Fabricio Zuardi Date: Sat, 28 Aug 2010 16:56:38 -0300 Subject: [PATCH] I am lazy, blurb now links to the channel --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index ad9537f..692a18d 100644 --- a/server.js +++ b/server.js @@ -56,8 +56,8 @@ function newChannel(res, path, pattern){ break; case '.txt': default: - res.writeHead(200, { "Content-Type": "text/plain" }) - res.end("your blurb is "+blurb); + res.writeHead(200, { "Content-Type": "text/html" }) + res.end('your blurb is '+blurb+''); break; } return true;