<commit_before>import { addonsServerStageCDN, analyticsHost, baseUrlStage } from './lib/shared';

const addonsFrontendCDN = 'https://addons-amo-cdn.allizom.org';

module.exports = {
  baseURL: baseUrlStage,

  staticHost: addonsFrontendCDN,

  CSP: {
    directives: {
      fontSrc: [
        addonsFrontendCDN,
      ],
      scriptSrc: [
        addonsFrontendCDN,
        `${analyticsHost}/analytics.js`,
      ],
      styleSrc: [addonsFrontendCDN],
      imgSrc: [
        "'self'",
        'data:',
        addonsServerStageCDN,
        addonsFrontendCDN,
      ],
      // This is needed because `prefetchSrc` isn't supported by FF yet.
      // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1457204
      defaultSrc: [addonsFrontendCDN],
      prefetchSrc: [addonsFrontendCDN],
    },
  },

  extensionWorkshopUrl: 'https://extensionworkshop.allizom.org',
};<commit_msg>Enable the new hero promo shelves on stage (#8779)<commit_after>import { addonsServerStageCDN, analyticsHost, baseUrlStage } from './lib/shared';

const addonsFrontendCDN = 'https://addons-amo-cdn.allizom.org';

module.exports = {
  baseURL: baseUrlStage,

  staticHost: addonsFrontendCDN,

  CSP: {
    directives: {
      fontSrc: [
        addonsFrontendCDN,
      ],
      scriptSrc: [
        addonsFrontendCDN,
        `${analyticsHost}/analytics.js`,
      ],
      styleSrc: [addonsFrontendCDN],
      imgSrc: [
        "'self'",
        'data:',
        addonsServerStageCDN,
        addonsFrontendCDN,
      ],
      // This is needed because `prefetchSrc` isn't supported by FF yet.
      // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1457204
      defaultSrc: [addonsFrontendCDN],
      prefetchSrc: [addonsFrontendCDN],
    },
  },

  extensionWorkshopUrl: 'https://extensionworkshop.allizom.org',

  enableFeatureHeroRecommendation: true,
};
{'fraction_non_alphanumeric': 0.12520325203252033, 'fraction_numerical': 0.00975609756097561, 'mean_word_length': 2.8140495867768593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '3698706', 'n_tokens_mistral': 644, 'n_tokens_neox': 615, 'n_words': 102}