<commit_before>var express = require('express');
var exphbs  = require('express-handlebars');
var path    = require('path');
var favicon = require('serve-favicon');

var routes = require('./routes/index');

var app = express();

// Create `ExpressHandlebars` instance with a default layout.
var hbs = exphbs.create({
    defaultLayout: 'main',
    partialsDir: [
        'views/partials/'
    ]
});

// view engine setup
app.engine('handlebars', hbs.engine);
app.set('view engine', 'handlebars');

// uncomment after placing your favicon in /public
//app.use(favicon(__dirname + '/public/favicon.ico'));
app.use(express.static(path.join(__dirname, 'public')));

app.use('/', routes);
<commit_msg>Remove x-powered-by<commit_after>var express = require('express');
var exphbs  = require('express-handlebars');
var path    = require('path');
var favicon = require('serve-favicon');

var routes = require('./routes/index');

var app = express();
app.disable('x-powered-by');
// Create `ExpressHandlebars` instance with a default layout.
var hbs = exphbs.create({
    defaultLayout: 'main',
    partialsDir: [
        'views/partials/'
    ]
});

// view engine setup
app.engine('handlebars', hbs.engine);
app.set('view engine', 'handlebars');

// uncomment after placing your favicon in /public
//app.use(favicon(__dirname + '/public/favicon.ico'));
app.use(express.static(path.join(__dirname, 'public')));

app.use('/', routes);

{'fraction_non_alphanumeric': 0.17812061711079943, 'fraction_numerical': 0.0, 'mean_word_length': 4.467432950191571, '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': '2685499', 'n_tokens_mistral': 450, 'n_tokens_neox': 445, 'n_words': 108}