<commit_before>var http = require('http');

function start() {
  http.createServer(function (req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Hello World\n');
  }).listen(80);
}

module.exports = start;<commit_msg>use connect to serve static files<commit_after>require.paths.unshift(__dirname + '/../vendor');
var connect = require('connect/lib/connect');

function start() {
  connect.createServer(
    connect.logger(),
    connect.staticProvider(__dirname + '/../public')
  ).listen(8124);
  console.log('Started')
}

module.exports = start;
{'fraction_non_alphanumeric': 0.18229166666666666, 'fraction_numerical': 0.015625, 'mean_word_length': 4.6568627450980395, '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': '5468962', 'n_tokens_mistral': 186, 'n_tokens_neox': 179, 'n_words': 35}