<commit_before>var express = require('express');
var engines = require('consolidate');

var app = express();

var port = process.env.PORT || 3000;

app.engine('html', require('ejs').renderFile);
app.set('views', __dirname);
app.set('view engine', 'html');

app.get('/', function(req, res){
  res.render('index');
});

// app.use(express.favicon(__dirname + "favicon.ico"));

["css", "font-awesome", "fonts", "img", "js"].forEach(function(it) {
  app.use("/" + it, express.static(__dirname + '/' + it));
})

app.listen(port);
console.log("Listering in port " + port);<commit_msg>Config favicon server<commit_after>var express = require('express');
var engines = require('consolidate');
var favicon = require('serve-favicon');

var app = express();

var port = process.env.PORT || 3000;

app.use(favicon(__dirname + "/favicon.ico"));

app.engine('html', require('ejs').renderFile);
app.set('views', __dirname);
app.set('view engine', 'html');

app.get('/', function(req, res){
  res.render('index');
});

["css", "font-awesome", "fonts", "img", "js"].forEach(function(it) {
  app.use("/" + it, express.static(__dirname + '/' + it));
})

app.listen(port);
console.log("Listering in port " + port);
{'fraction_non_alphanumeric': 0.23366834170854273, 'fraction_numerical': 0.006700167504187605, 'mean_word_length': 5.602209944751381, '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': '5223972', 'n_tokens_mistral': 422, 'n_tokens_neox': 406, 'n_words': 84}