Skip to content

Commit

Permalink
Edited deps/node-http-proxy/node-http-proxy.js via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
funkytek committed Sep 16, 2011
1 parent c8175f0 commit dd0d5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/node-http-proxy/node-http-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ exports.version = [0, 5, 7];
var _agents = {};

// Ghetto hack
var errorPage = '<html><head><title id="title">{title}</title></head><body><center><img src="http://nodester.com/images/rocket-md-right.png" alt="logo" /><h1 style ="color:#000;font-family:Arial,Helvetica,sans-serif;font-size:38px;font-weight:bold;letter-spacing:-2px;padding:0 0 5px;margin:0;">{code}</h1><h3 style ="color:#000;font-family:Arial,Helvetica,sans-serif;font-size:24px;font-weight:bold;padding:0 0 5px;margin:0;">{error}</h3></center></body></html>';
var errorPage = '<html><head><title id="title">{title}</title></head><body><br/></br/></br/></br/></br/><center><img src="http://nodester.com/images/rocket-md-right.png" alt="logo" /></br/><h1 style ="color:#000;font-family:Arial,Helvetica,sans-serif;font-size:38px;font-weight:bold;letter-spacing:-2px;padding:0 0 5px;margin:0;">{code}</h1><h3 style ="color:#000;font-family:Arial,Helvetica,sans-serif;font-size:24px;font-weight:bold;padding:0 0 5px;margin:0;">{error}</h3></center></body></html>';
var getErrorPage = function(title, code, error) {
return errorPage.replace('{title}', title).replace('{code}', code).replace('{error}', error);
};
Expand Down

0 comments on commit dd0d5e6

Please sign in to comment.