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

  var endpoints = {
    name: 'Docker Index -- Default Routes',
    description: 'Default Routes needed for the Index to function',
    endpoints: [

      {
        name: 'Root',
        description: 'Docker Index Root Endpoint',
        method: 'GET',
        auth: false,
        path: '/v1',
        version: '1.0.0',
        fn: function(req, res, next) {
    	    res.setHeader('X-Docker-Registry-Version', '0.6.5');
    	    res.send(200);
          return next();
        }
      },

      {
        name: 'Ping',
        description: 'Docker Index -- Ping',
        method: 'GET',
        auth: false,
        path: '/v1/ping',
        version: '1.0.0',
        fn: function(req, res, next) {
    	    res.setHeader('X-Docker-Registry-Version', '0.6.5');
    	    res.send(200);
          return next();
        }
      }

    ]
  };

  return endpoints
}<commit_msg>fixing problem with route<commit_after>
module.exports = function(redis) {

  var endpoints = {
    name: 'Docker Index -- Default Routes',
    description: 'Default Routes needed for the Index to function',
    endpoints: [

      {
        name: 'Root',
        description: 'Docker Index Root Endpoint',
        method: 'GET',
        auth: false,
        path: '/v1',
        version: '1.0.0',
        fn: function(req, res, next) {
    	    res.setHeader('X-Docker-Registry-Version', '0.6.5');
    	    res.send(200);
          next();
        }
      },

      {
        name: 'Ping',
        description: 'Docker Index -- Ping',
        method: 'GET',
        auth: false,
        path: '/v1/_ping',
        version: '1.0.0',
        fn: function(req, res, next) {
    	    res.setHeader('X-Docker-Registry-Version', '0.6.5');
    	    res.send(200);
          next();
        }
      }

    ]
  };

  return endpoints
}
{'fraction_non_alphanumeric': 0.1509433962264151, 'fraction_numerical': 0.0215633423180593, 'mean_word_length': 1.6666666666666667, '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': '4596589', 'n_tokens_mistral': 625, 'n_tokens_neox': 601, 'n_words': 139}