<commit_before>const app         = new (require('koa'))()
const send        = require('koa-send')
const path        = require('path')
const config      = require('./config.json')

app.use(require('koa-static')(path.join(__dirname, '/../dist/')))
app.use(async (ctx, next) => {
  await send(ctx, (path.join(__dirname, '/../dist/index.html')))
})
app.listen(config.port)
console.log(`Start server on port ${config.port}.`)<commit_msg>Correct error handling route path.<commit_after>const app         = new (require('koa'))()
const send        = require('koa-send')
const path        = require('path')
const config      = require('./config.json')

app.use(require('koa-static')(path.join(__dirname, '/../dist/')))
app.use(async (ctx, next) => {
  await send(ctx, (path.join('/../dist/index.html')))
})
app.listen(config.port)
console.log(`Start server on port ${config.port}.`)
{'fraction_non_alphanumeric': 0.2128146453089245, 'fraction_numerical': 0.0, 'mean_word_length': 3.7814207650273226, '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': '2045230', 'n_tokens_mistral': 281, 'n_tokens_neox': 281, 'n_words': 58}