<commit_before>// A simple node app for serving up some dummy test data.

var jsonServer = require('json-server');

// Returns an Express server
var server = jsonServer.create();

// Set default middlewares (logger, static, cors and no-cache)
server.use(jsonServer.defaults());

var router = jsonServer.router('dev-server/db.json');
server.use(router);

server.use(jsonServer.rewriter({
    '/proposals/api/': '/'
}));

console.log('Listening at 4000');
server.listen(4000);<commit_msg>Small fix to dev server.<commit_after>// A simple node app for serving up some dummy test data.

var jsonServer = require('json-server');

// Returns an Express server
var server = jsonServer.create();

// Set default middlewares (logger, static, cors and no-cache)
server.use(jsonServer.defaults());

server.use(jsonServer.rewriter({
    '/proposals/api/': '/'
}));

var router = jsonServer.router('dev-server/db.json');
server.use(router);

console.log('Listening at 4000');
server.listen(4000);
{'fraction_non_alphanumeric': 0.15564598168870802, 'fraction_numerical': 0.01627670396744659, 'mean_word_length': 4.788235294117647, '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': '7174359', 'n_tokens_mistral': 317, 'n_tokens_neox': 302, 'n_words': 85}