<commit_before>'use strict';

var express = require('express');
var http = require('http');
var mongoose = require('mongoose');
var celebsRoutes = require('./routes/celebs-routes');

mongoose.connect(process.env.MONGO_URI || 'mongodb://localhost/db-cel');

var app = express();
app.use(express.static(__dirname + '/build'));

var router = express.Router();

celebsRoutes(router);

app.use('/api/v1', router);

http.createServer(app).listen(process.env.PORT || 3000, function() {
  console.log('The server is listening on port ' + (process.env.PORT || 3000));
});
<commit_msg>deploy<commit_after>'use strict';

var express = require('express');
var http = require('http');
var mongoose = require('mongoose');
var celebsRoutes = require('./routes/celebs-routes');

mongoose.connect(process.env.MONGO_URI || 'mongodb://localhost/db-cel');

var app = express();
app.use(express.static(__dirname + '/build'));

var router = express.Router();

celebsRoutes(router);

app.use('/', router);

http.createServer(app).listen(process.env.PORT || 3000, function() {
  console.log('The server is listening on port ' + (process.env.PORT || 3000));
});

{'fraction_non_alphanumeric': 0.19261213720316622, 'fraction_numerical': 0.014951627088830254, 'mean_word_length': 5.616279069767442, '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': '279705', 'n_tokens_mistral': 382, 'n_tokens_neox': 366, 'n_words': 76}