<commit_before>'use strict';

const Env = use('Env');

// facebook app settings
module.exports = {
  appID: Env.get('FB_APPID'),
  appSecret: Env.get('FB_APPSECRET'),
  callbackUrl : 'http://'+Env.get('PUBLIC_HOST')+':'+Env.get('PUBLIC_PORT', 80)+'/login_fb_callback'
};<commit_msg>Better handling of PUBLIC_PORT<commit_after>'use strict';

const Env = use('Env');

const port = Env.get('PUBLIC_PORT', 80);

// facebook app settings
module.exports = {
  appID: Env.get('FB_APPID'),
  appSecret: Env.get('FB_APPSECRET'),
  callbackUrl : 'http://'+Env.get('PUBLIC_HOST')+(port==80 && '' || ':'+port)+'/login_fb_callback'
};
{'fraction_non_alphanumeric': 0.21256038647342995, 'fraction_numerical': 0.00966183574879227, 'mean_word_length': 5.835164835164835, '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': '287706', 'n_tokens_mistral': 242, 'n_tokens_neox': 225, 'n_words': 39}