<commit_before>var path = require('path'),
    fs = require('fs'),
    util = require('util'),
    os = require('os'),
    Hoek = require('hoek');

var config = module.exports = {};

config.port = process.env.PORT || 15443;
config.host = "localhost";
// config.host = '0.0.0.0'
config.canonicalHost = util.format("https://localhost:%d", config.port);

config.server = {
  cache: {
    engine: require('catbox-redis'),
    host: '127.0.0.1',
    port: '16379',
    // password: '<PASSWORD>-development-<PASSWORD>-for-npm-www'
  },
  connections: {
    router: {
      stripTrailingSlash: true
    },
    routes: {
      security: {
        hsts: {
          maxAge: 1000 * 60 * 60 * 24 * 30,
          includeSubdomains: true
        },
        xframe: true
      }
    }
  }
};

config.connection = {
  host: config.host,
  port: config.port
};

if (process.env.NODE_ENV === 'dev') {
  config.connection.tls = {
      ca: [],
      key: "-----<KEY>",
      cert: "-----BEGIN CERTIFICATE-----\<KEY>DE/+NC2MwMJZoyZpaIY+Jy27WGsT6KOPEiWjOks6\nu2pNOmtXwTsAC92Tr0bgGPRmDLfsYX9aQ/iRjakLmhtV5TsaAdLNF0zKhrhpYjAl\nPTcrlPUxK+MZmbQQ2WGF/9AhS2Pnke1cFkiv8ORen1rkcynbSBpuKuraYz4FYoCy\ndqGovkN8bAjrSkOkuBpT93gyBEVWbG924b3QQS4dPwN2V+DfteB2TUh3SvpzyaXv\nDAt46X6rAjfDfcLle9gEkVDfAo2u6Sff2QqtZO9XrpYh7AX5JAb7pMy9dRn36kH2\neXZq9JXHgxFTGnLy2lEoaUzc532d4qxlP9jnXsZ4bM/JDA==\n-----END CERTIFICATE-----\n"
    }
}<commit_msg>update config.js to use default redis settings<commit_after>var path = require('path'),
    fs = require('fs'),
    util = require('util'),
    os = require('os'),
    Hoek = require('hoek');

var config = module.exports = {};

config.port = process.env.PORT || 15443;
config.host = "localhost";
// config.host = '0.0.0.0'
config.canonicalHost = util.format("https://localhost:%d", config.port);

config.server = {
  cache: {
    engine: require('catbox-redis'),
    host: '127.0.0.1',
    port: '6379',
  },
  connections: {
    router: {
      stripTrailingSlash: true
    },
    routes: {
      security: {
        hsts: {
          maxAge: 1000 * 60 * 60 * 24 * 30,
          includeSubdomains: true
        },
        xframe: true
      }
    }
  }
};

config.connection = {
  host: config.host,
  port: config.port
};

if (process.env.NODE_ENV === 'dev') {
  config.connection.tls = {
      ca: [],
      key: "-----<KEY>",
      cert: "-----<KEY>-----END CERTIFICATE-----\n"
    }
}
{'fraction_non_alphanumeric': 0.17447698744769874, 'fraction_numerical': 0.048535564853556486, 'mean_word_length': 2.71850699844479, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 4, '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': '3561699', 'n_tokens_mistral': 1051, 'n_tokens_neox': 968, 'n_words': 137}