<commit_before>'use strict'

module.exports = {
  domain: '',
  urlpath: '',
  port: 3000,
  urladdport: false,
  alloworigin: ['localhost'],
  usessl: false,
  hsts: {
    enable: true,
    maxAgeSeconds: 31536000,
    includeSubdomains: true,
    preload: true
  },
  csp: {
    enable: true,
    reportUri: '',
    directives: {
      defaultSrc: ["'self'"],
      scriptSrc: ["'self'"],
      styleSrc: ["'self'", "'unsafe-inline'"],
      fontSrc: ["'self'"],
    },
    upgradeInsecureRequests: 'auto'
  },
  protocolusessl: false,
  usecdn: true,
  allowanonymous: true,
  allowfreeurl: false,
  defaultpermission: 'editable',
  dburl: '',
  db: {},
  // ssl path
  sslkeypath: '',
  sslcertpath: '',<commit_msg>CSP: Allow more content types<commit_after>'use strict'

module.exports = {
  domain: '',
  urlpath: '',
  port: 3000,
  urladdport: false,
  alloworigin: ['localhost'],
  usessl: false,
  hsts: {
    enable: true,
    maxAgeSeconds: 31536000,
    includeSubdomains: true,
    preload: true
  },
  csp: {
    enable: true,
    reportUri: '',
    directives: {
      defaultSrc: ["'self'"],
      scriptSrc: ["'self'", "'unsafe-eval'", "vimeo.com", "https://gist.github.com", "www.slideshare.net", "https://query.yahooapis.com", "https://*.disqus.com"],
      imgSrc: ["*"],
      styleSrc: ["'self'", "'unsafe-inline'", "https://assets-cdn.github.com"],
      fontSrc: ["'self'", "https://public.slidesharecdn.com"],
      objectSrc: ["*"],
      childSrc: ["*"],
      connectSrc: ["'self'", "https://links.services.disqus.com", "wss://realtime.services.disqus.com"]
    },
    upgradeInsecureRequests: 'auto'
  },
  protocolusessl: false,
  usecdn: true,
  allowanonymous: true,
  allowfreeurl: false,
  defaultpermission: 'editable',
  dburl: '',
  db: {},
  // ssl path
  sslkeypath: '',
  sslcertpath: '',
{'fraction_non_alphanumeric': 0.19245489338436303, 'fraction_numerical': 0.013121924548933843, 'mean_word_length': 3.255813953488372, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 1, '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': '4637644', 'n_tokens_mistral': 689, 'n_tokens_neox': 661, 'n_words': 127}