Permalink
Browse files

added downward rocket image on proxy errors

  • Loading branch information...
1 parent 8bf4136 commit 194519124829735fbc4f57c973253b9faef5e1e3 @chrismatthieu chrismatthieu committed Dec 7, 2011
Showing with 5 additions and 1 deletion.
  1. +1 −0 .app.pid.2
  2. +1 −0 deps/nodemon
  3. +1 −0 install.txt
  4. +1 −0 package.json
  5. +1 −1 proxy/proxy.js
  6. BIN public/images/rocket-down.png
View
@@ -0,0 +1 @@
+18410
Submodule nodemon added at 173832
View
@@ -3,6 +3,7 @@ PLEASE NOTE - THIS IS HORRIBLY OUT OF DATE, UPDATED INSTALL INSTRUCTIONS AND A S
Nodester - A node.js hosting platform
Dependencies:
+ bouncy
node.js (Latest stable version 0.4.11)
npm
curl
View
@@ -18,6 +18,7 @@
"cradle":"*",
"nodeinfo":"*",
"socket.io":"*",
+ "bouncy":"*",
"daemon":"*"
},
"engines":{
View
@@ -10,7 +10,7 @@ console.log('Starting proxy initialization');
var proxymap = {};
// Ghetto hack for error page
-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 errorPage = '<html><head><title id="title">{title}</title></head><body><br/><br/><br/><br/><br/><center><img src="http://nodester.com/images/rocket-down.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);
};
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

2 comments on commit 1945191

Is .app.pid.2 extraneous?

Contributor

contra replied Jan 18, 2012

Yep, should be added to .gitignore and .npmignore

Please sign in to comment.