<commit_before>var path = require('path');

// strip the last dir...  essentially the same as __dirname/..
var root = path.dirname(__dirname); //.replace(/\/[^\/]+\/?$/,''),
deploy_root = path.normalize(root + '/..');

module.exports = {
	  port: 8001
	, public_dir: root + '/public'
	, db_name: 'wompt_dev'
	, root: root
	, deploy_root: deploy_root
	, app_host:  '127.0.0.1'
	, db_host:   '127.0.0.1'
	, auth_host: '127.0.0.1'
	
	, minify_assets: false
	
	, constants: {
		messages: {
				max_length: 256 * 1,
				max_shown: 500
		}
	}
	
	, hoptoad: {
		reportErrors: false
	}
	
	, logs: {
		root: root,
		channels: {
			root: root + '/logs/channels'
		}
	}
	
	/* google analytics */
	, ga: {
		use: true
	}
	
	, redirectWww: false
	, redirectWwwToPort: 16867
}<commit_msg>Add SocketIO server options to "default" nodejs environment so development mode isn't broken<commit_after>var path = require('path');

// strip the last dir...  essentially the same as __dirname/..
var root = path.dirname(__dirname); //.replace(/\/[^\/]+\/?$/,''),
deploy_root = path.normalize(root + '/..');

module.exports = {
	  port: 8001
	, public_dir: root + '/public'
	, db_name: 'wompt_dev'
	, root: root
	, deploy_root: deploy_root
	, app_host:  '127.0.0.1'
	, db_host:   '127.0.0.1'
	, auth_host: '127.0.0.1'
	
	, minify_assets: false
	
	, constants: {
		messages: {
				max_length: 256 * 1,
				max_shown: 500
		}
	}
	
	, hoptoad: {
		reportErrors: false
	}
	
	, logs: {
		root: root,
		channels: {
			root: root + '/logs/channels'
		}
	}
	
	/* google analytics */
	, ga: {
		use: true
	}
	
	, socketIO: {
		serverOptions: {
		}
	}
	
	, redirectWww: false
	, redirectWwwToPort: 16867
}
{'fraction_non_alphanumeric': 0.17604790419161676, 'fraction_numerical': 0.0407185628742515, 'mean_word_length': 2.7805429864253393, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '3285367', 'n_tokens_mistral': 771, 'n_tokens_neox': 660, 'n_words': 142}