Permalink
Browse files

Not found page now renders preview correctly

  • Loading branch information...
1 parent 602f1ad commit b96427364e108c8da351eca7372864d37e06c8b4 @aron aron committed Apr 30, 2012
Showing with 11 additions and 0 deletions.
  1. +1 −0 lib/handlers.js
  2. +10 −0 views/not_found.html
View
@@ -94,6 +94,7 @@ module.exports = handlers = {
},
notFound: function (req, res) {
var files = handlers.defaultFiles();
+ files[0] = 'not_found.html';
files[2] = 'not_found.js';
handlers.renderFiles(req, res, files);
},
View
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset=utf-8 />
+<title>JS Bin</title>
+</head>
+<body>
+ <p id="hello"></p>
+</body>
+</html>

0 comments on commit b964273

Please sign in to comment.