<commit_before>const requestProxy = require('express-request-proxy')
const path = require('path')

module.exports = (app) => {
  require('./auth')(app)
  require('./checkouts')(app)
  require('./holds')(app)
  require('./profile')(app)
  require('./libraries')(app)
  require('./registration')(app)
  require('./search')(app)
  require('./validation')(app)

  app.all('/services/*', requestProxy({
    url: 'http://services:8005/*',
    timeout: 30*1000 // 30 seconds
  }))

  app.get('*', (request, response) => {
    response.sendFile(path.resolve(__dirname, '..', '..', '..', 'public', 'dist', 'index.html'))
  })
}<commit_msg>patron-client: linting<commit_after>const requestProxy = require('express-request-proxy')
const path = require('path')

module.exports = (app) => {
  require('./auth')(app)
  require('./checkouts')(app)
  require('./holds')(app)
  require('./profile')(app)
  require('./libraries')(app)
  require('./registration')(app)
  require('./search')(app)
  require('./validation')(app)

  app.all('/services/*', requestProxy({
    url: 'http://services:8005/*',
    timeout: 30 * 1000 // 30 seconds
  }))

  app.get('*', (request, response) => {
    response.sendFile(path.resolve(__dirname, '..', '..', '..', 'public', 'dist', 'index.html'))
  })
}
{'fraction_non_alphanumeric': 0.25177025963808025, 'fraction_numerical': 0.01888276947285602, 'mean_word_length': 4.191836734693878, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3513279', 'n_tokens_mistral': 443, 'n_tokens_neox': 414, 'n_words': 64}