Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
I am lazy, blurb now links to the channel
  • Loading branch information
Fabricio Zuardi committed Aug 28, 2010
1 parent 1a97e59 commit afead04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Expand Up @@ -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 <a href="/'+blurb+'">'+blurb+'</a>');
break;
}
return true;
Expand Down

0 comments on commit afead04

Please sign in to comment.