<commit_before>const bodyParser = require('body-parser');
const path = require('path');
const morgan = require('morgan');

module.exports = (app, express) => {
  app.use(morgan('dev'));
  app.use(bodyParser.urlencoded({ extended: true }));
  app.use(express.static(path.join(`${__dirname}./../../dist`)));<commit_msg>added better express static routes<commit_after>const bodyParser = require('body-parser');
const path = require('path');
const morgan = require('morgan');

module.exports = (app, express) => {
  app.use(morgan('dev'));
  app.use(bodyParser.urlencoded({ extended: true }));
  app.use(express.static(path.join(`${__dirname}./../../dist`)));
  app.use('/images', express.static(path.join(`${__dirname}./../../dist`)));
  app.use('/compressedImages', express.static(path.join(`${__dirname}./../../dist`)));
{'fraction_non_alphanumeric': 0.23931623931623933, 'fraction_numerical': 0.0, 'mean_word_length': 5.3565891472868215, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7574322', 'n_tokens_mistral': 255, 'n_tokens_neox': 256, 'n_words': 41}