<commit_before>const path = require('path');
const _ = require('lodash');
const express = require('express');
const bodyParser = require('body-parser');
const reactRouter = require('react-router');
const { syncHistoryWithStore } = require('react-router-redux');

const models = require('./models');
const routes = require('./routes');
const createStore = require('./helpers/createStore');
const frameViews = require('./frameViews');

// Create a new Express app
const app = express();

app.use(bodyParser.json());

// Serve up our static assets from 'dist' (this includes our client-side
// bundle of JavaScript). These assets are referred to in the HTML using
// <link> and <script> tags.
app.use('/assets', express.static(path.resolve(__dirname, '..', 'dist')));<commit_msg>Increase content size limit for requests<commit_after>const path = require('path');
const _ = require('lodash');
const express = require('express');
const bodyParser = require('body-parser');
const reactRouter = require('react-router');
const { syncHistoryWithStore } = require('react-router-redux');

const models = require('./models');
const routes = require('./routes');
const createStore = require('./helpers/createStore');
const frameViews = require('./frameViews');

// Create a new Express app
const app = express();

app.use(bodyParser.json({ limit: '50mb' }));

// Serve up our static assets from 'dist' (this includes our client-side
// bundle of JavaScript). These assets are referred to in the HTML using
// <link> and <script> tags.
app.use('/assets', express.static(path.resolve(__dirname, '..', 'dist')));
{'fraction_non_alphanumeric': 0.16604010025062657, 'fraction_numerical': 0.0012531328320802004, 'mean_word_length': 5.312252964426878, 'pattern_counts': {'":': 0, '<': 7, '<?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': '590462', 'n_tokens_mistral': 430, 'n_tokens_neox': 428, 'n_words': 142}