<commit_before>module.exports = function(app) {

  app.all('*', function(req, res, next) {
    res.header("Access-Control-Allow-Origin", "*");
    res.header("Access-Control-Allow-Headers", "X-Requested-With");
    next();
  });

  app.get('/', function(req, res){
    res.render('index', { title: 'Express' });
  });
<commit_msg>added content-type which allows all types of reqests from angular clients<commit_after>module.exports = function(app) {

  app.all('*', function(req, res, next) {
    res.header("Access-Control-Allow-Origin", "*");
    res.header("Access-Control-Allow-Headers", "Content-Type,X-Requested-With");
    next();
  });

  app.get('/', function(req, res){
    res.render('index', { title: 'Express' });
  });

{'fraction_non_alphanumeric': 0.21418826739427013, 'fraction_numerical': 0.0, 'mean_word_length': 4.1328671328671325, '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': '2920131', 'n_tokens_mistral': 244, 'n_tokens_neox': 239, 'n_words': 42}