<commit_before>var connect = require('connect');
var http = require('http');
var path = require('path');
var serveStatic = require('serve-static');

var app = connect();
app.use('/assets', serveStatic(path.join(path.dirname(require.resolve('classets/package')), 'public')));
app.use(serveStatic(path.join(__dirname, 'public')));

var port = process.env.PORT || 11583;
http.createServer(app).listen(port, function() {
	console.log('Server started http://localhost:' + port);
});
<commit_msg>Allow to customize the address classeur listens to<commit_after>var connect = require('connect');
var http = require('http');
var path = require('path');
var serveStatic = require('serve-static');

var app = connect();
app.use('/assets', serveStatic(path.join(path.dirname(require.resolve('classets/package')), 'public')));
app.use(serveStatic(path.join(__dirname, 'public')));

var port = process.env.PORT || 11583;
var addr = process.env.BINDING_ADDR || 'localhost';
http.createServer(app).listen(port, host, function() {
	console.log('Server started http://' + addr + ':' + port);
});

{'fraction_non_alphanumeric': 0.19387755102040816, 'fraction_numerical': 0.00927643784786642, 'mean_word_length': 6.762589928057554, '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': '4760785', 'n_tokens_mistral': 334, 'n_tokens_neox': 325, 'n_words': 73}