mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
use 2-space indentation (as we do everywhere else)
This commit is contained in:
4
app.js
4
app.js
@@ -6,7 +6,7 @@ var cookieParser = require('cookie-parser');
|
||||
var bodyParser = require('body-parser');
|
||||
|
||||
var routes = require('./routes/index');
|
||||
var avatars = require('./routes/avatars')
|
||||
var avatars = require('./routes/avatars');
|
||||
|
||||
var app = express();
|
||||
|
||||
@@ -23,7 +23,7 @@ app.use(cookieParser());
|
||||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
|
||||
app.use('/', routes);
|
||||
app.use('/avatars', avatars)
|
||||
app.use('/avatars', avatars);
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
app.use(function(req, res, next) {
|
||||
|
||||
Reference in New Issue
Block a user