<commit_before>var express = require('express');
var app = express();
var server = require('http').Server(app);
exports.io = require('socket.io')(server);
var gameServer = require('./server/server.js');

app.use('/client', express.static(__dirname + '/client'));
app.use('/shared', express.static(__dirname + '/shared'));
app.use('/resources', express.static(__dirname + '/resources'));
app.use('/tools', express.static(__dirname + '/tools/tools.html'));

server.listen(80);

app.get('/', function (req, res) {
  res.sendfile(__dirname + '/index.html');
});

<commit_msg>fixed some heroku port issues<commit_after>var express = require('express');
var app = express();
var server = require('http').Server(app);
exports.io = require('socket.io')(server);
var gameServer = require('./server/server.js');
var port = process.env.PORT || 3000;

app.use('/client', express.static(__dirname + '/client'));
app.use('/shared', express.static(__dirname + '/shared'));
app.use('/resources', express.static(__dirname + '/resources'));
app.use('/tools', express.static(__dirname + '/tools/tools.html'));

server.listen(port);

app.get('/', function (req, res) {
  res.sendfile(__dirname + '/index.html');
});


{'fraction_non_alphanumeric': 0.2222222222222222, 'fraction_numerical': 0.005012531328320802, 'mean_word_length': 5.768361581920904, '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': '24815', 'n_tokens_mistral': 361, 'n_tokens_neox': 354, 'n_words': 74}