<commit_before>var express = require('express'),
    app = express();

app.set('views', __dirname + '/views');
app.set('view engine', 'jade');

app.use(express.cookieParser(process.env.COOKIE_SECRET));
app.use(express.cookieSession());
app.use(express.urlencoded());
app.use(express.static(__dirname + '/../public'));

require('./controller/auth')(app);
require('./controller/main')(app);
require('./controller/test')(app);

module.exports = app;<commit_msg>added method override middleware<commit_after>var express = require('express'),
    app = express();

app.set('views', __dirname + '/views');
app.set('view engine', 'jade');

app.use(express.cookieParser(process.env.COOKIE_SECRET));
app.use(express.cookieSession());
app.use(express.urlencoded());
app.use(express.methodOverride());
app.use(express.static(__dirname + '/../public'));

require('./controller/auth')(app);
require('./controller/main')(app);
require('./controller/test')(app);

module.exports = app;
{'fraction_non_alphanumeric': 0.21958762886597938, 'fraction_numerical': 0.0, 'mean_word_length': 6.645669291338582, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5230396', 'n_tokens_mistral': 303, 'n_tokens_neox': 301, 'n_words': 45}