<commit_before>var jQuery;

try {
    jQuery = require('jquery');
} catch (e) {
    //Ignore
}

module.exports =  {
    ajax: jQuery ? jQuery.ajax : null,
    apiUrl: '',
    headers: {
        'X-No-Authorization-Header': true
    },
    language: null,
    unauthenticatedUrls: [
        '/countries',
        '/countryGroups',
        '/currencies',
        '/ipLocation',
        '/locales',
        '/organizationInvitations',
        '/user/login',
        '/user/passwordReset',
        '/user/passwordResetRequest',
        '/user/signup'
    ]
};<commit_msg>Only apply unauthenticated invitation to subroutes<commit_after>var jQuery;

try {
    jQuery = require('jquery');
} catch (e) {
    //Ignore
}

module.exports =  {
    ajax: jQuery ? jQuery.ajax : null,
    apiUrl: '',
    headers: {
        'X-No-Authorization-Header': true
    },
    language: null,
    unauthenticatedUrls: [
        '/countries',
        '/countryGroups',
        '/currencies',
        '/ipLocation',
        '/locales',
        '/organizationInvitations/', //Trailing slash to only catch subroutes
        '/user/login',
        '/user/passwordReset',
        '/user/passwordResetRequest',
        '/user/signup'
    ]
};
{'fraction_non_alphanumeric': 0.1508656224237428, 'fraction_numerical': 0.0, 'mean_word_length': 2.0426065162907268, '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': '2061959', 'n_tokens_mistral': 371, 'n_tokens_neox': 364, 'n_words': 71}