Skip to content

Commit

Permalink
comentar toobusy
Browse files Browse the repository at this point in the history
  • Loading branch information
Adán Miguel Sánchez Albert committed Jan 31, 2013
1 parent cabba20 commit 7b8d6b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

var express = require('express'),
request = require('request'),
toobusy = require('toobusy'),
//toobusy = require('toobusy'),
// database
mongoose = require('mongoose'),
// authentication
Expand Down Expand Up @@ -66,10 +66,10 @@ module.exports = function (config) {
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');

app.use(function (req, res, next) {
/*app.use(function (req, res, next) {
if(toobusy()) res.status(500).sendfile(__dirname+'/views/overload.html');
else next();
});
});*/

app.use(express.static(__dirname + '/public'));
app.use(express.favicon(__dirname + '/public/images/favicon.ico'));
Expand Down
1 change: 1 addition & 0 deletions public/stylesheets/admin/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ h3 {
overflow: hidden;
}
.comments .comment {
overflow: hidden;
margin: 15px 0;
}
.comments .comment .avatar {
Expand Down
1 change: 1 addition & 0 deletions public/stylesheets/admin/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ h3
overflow hidden

.comment
overflow hidden
margin 15px 0

.avatar
Expand Down

0 comments on commit 7b8d6b3

Please sign in to comment.