<commit_before>var express = require('express');
var app = express();
var basedir = '/code/build/pmp/bundled/';
var node_modulesDir = '/code/node_modules/';
//var basedir = '/Users/Robi/Desktop/etools/infra/etools-infra/pmp/build/pmp/bundled/';


app.use('/pmp/', express.static(basedir));

app.get(/.*service-worker\.js/, function(req, res) {
  res.sendFile(basedir + 'service-worker.js');
});
app.get(/node_modules/, express.static(node_modulesDir));
app.use(function(req, res) {
  res.sendFile(basedir + 'index.html');
});


app.listen(8080);<commit_msg>Fix routing redo<commit_after>var express = require('express');
var app = express();
var basedir = '/code/build/pmp/bundled/';
//var basedir = '/Users/rob/Desktop/etools/etools-infra/pmp/build/pmp/bundled/';
var node_modulesReduxDir = '/code/node_modules/redux/dist/';
//var node_modulesReduxDir = '/Users/rob/Desktop/etools/etools-infra/pmp/node_modules/redux/dist/';


app.use('/pmp/', express.static(basedir));

app.get(/.*service-worker\.js/, function(req, res) {
  res.sendFile(basedir + 'service-worker.js');
});
app.get(/.*redux\.min\.js/, function(req, res) {
  res.sendFile(node_modulesReduxDir + 'redux.min.js');
});
app.use(function(req, res) {
  res.sendFile(basedir + 'index.html');
});


app.listen(8080);
{'fraction_non_alphanumeric': 0.20924764890282133, 'fraction_numerical': 0.006269592476489028, 'mean_word_length': 4.804545454545455, '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': '4059591', 'n_tokens_mistral': 494, 'n_tokens_neox': 471, 'n_words': 65}