<commit_before>var cors = require('cors');

var express = require('express'),
  app = express(),
  port = process.env.PORT || 8000,
  mongoose = require('mongoose'),
  ChatHistory = require('./api/models/ChatHistoryModel'),
  bodyParser = require('body-parser');
  
app.use(cors());
  
mongoose.Promise = global.Promise;
mongoose.connect('mongodb://heroku_7rcrjj4s:<EMAIL>:33311/heroku_7rcrjj4s'); 


app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());


var routes = require('./api/routes/ChatHistoryRoutes');
routes(app);


app.listen(port);


console.log('todo list RESTful API server started on: ' + port);<commit_msg>removed cors<commit_after>//var cors = require('cors');

var express = require('express'),
  app = express(),
  port = process.env.PORT || 8000,
  mongoose = require('mongoose'),
  ChatHistory = require('./api/models/ChatHistoryModel'),
  bodyParser = require('body-parser');
  
//app.use(cors());
  
mongoose.Promise = global.Promise;
mongoose.connect('mongodb://heroku_7rcrjj4s:<EMAIL>:33311/heroku_7rcrjj4s'); 


app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());


var routes = require('./api/routes/ChatHistoryRoutes');
routes(app);


app.listen(port);


console.log('todo list RESTful API server started on: ' + port);
{'fraction_non_alphanumeric': 0.1780506523407521, 'fraction_numerical': 0.019953952417498082, 'mean_word_length': 5.330097087378641, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1391001', 'n_tokens_mistral': 459, 'n_tokens_neox': 445, 'n_words': 76}