<commit_before>var express = require('express');
var app = express();
var port = process.env.port || 8083;

app.use('/', express.static(__dirname + '/web'));
var exposedNodeModules = [ 
  '/node_modules/requirejs',
  '/node_modules/monaco-editor',
  '/node_modules/thegamma-script',
  '/node_modules/babel-standalone' ];
  
for(var i=0; i<exposedNodeModules.length; i++) {
  var subdir = exposedNodeModules[i];
  app.use(subdir, express.static(__dirname + subdir));
}  
  
app.listen(port);

console.log('Listening on port: ', port);<commit_msg>Expose only expenditure web<commit_after>var express = require('express');
var app = express();
var port = process.env.port || 8083;


var exposedNodeModules = [ 
  '/node_modules/requirejs',
  '/node_modules/monaco-editor',
  '/node_modules/thegamma-script',
  '/node_modules/babel-standalone' ];
  
for(var i=0; i<exposedNodeModules.length; i++) {
  var subdir = exposedNodeModules[i];
  app.use(subdir, express.static(__dirname + subdir));
}  
  
app.get('/', function(_, res) { res.redirect('/expenditure'); })
app.use('/img', express.static(__dirname + '/web/img'));
app.use('/lib', express.static(__dirname + '/web/lib'));
app.use('/expenditure', express.static(__dirname + '/web/expenditure'));
app.use('/favicon.ico', express.static(__dirname + '/web/favicon.ico'));

app.listen(port);

console.log('Listening on port: ', port);
{'fraction_non_alphanumeric': 0.18971759594496743, 'fraction_numerical': 0.00724112961622013, 'mean_word_length': 5.06140350877193, 'pattern_counts': {'":': 0, '<': 5, '<?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': '439041', 'n_tokens_mistral': 472, 'n_tokens_neox': 461, 'n_words': 83}