<commit_before>/*
 *	Factlink
 *	A simple proxy server which will proxy requests.
 * 
 *	Used for implementing Factlink JavaScript on client-sites.
 */

/* jslint node: true */
config_path = process.env.CONFIG_PATH || '../config/';
server = require('./lib/server').getServer(config_path);

server.listen(server.INTERNAL_PROXY_PORT);
console.info('\nStarted Factlink proxy on internal port ' + server.INTERNAL_PROXY_PORT);<commit_msg>Starting server now read correct config again<commit_after>/*
 *	Factlink
 *	A simple proxy server which will proxy requests.
 * 
 *	Used for implementing Factlink JavaScript on client-sites.
 */

/* jslint node: true */

config = require('./lib/config').get(process.env)
server = require('./lib/server').getServer(config);

server.listen(config.INTERNAL_PROXY_PORT);
console.info('\nStarted Factlink proxy on internal port ' + config.INTERNAL_PROXY_PORT);
{'fraction_non_alphanumeric': 0.12823397075365578, 'fraction_numerical': 0.0, 'mean_word_length': 4.816993464052287, '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': '2183003', 'n_tokens_mistral': 271, 'n_tokens_neox': 267, 'n_words': 70}