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

var mongoApiUrlObj = {
	MONGO_API_URL: process.env.MONGO_API_URL
};

app.engine('html', require('ejs').renderFile);
app.set('view engine', 'html');
app.use(express.static(path.join(__dirname, '/static')));

app.get('/api/MONGO_API_URL', function (req, res){
	res.json(mongoApiUrlObj);
});

app.get('/static/*', function (req, res) {
	res.sendFile(__dirname + req.url);
});
app.get('/*', function (req, res) {
	res.sendFile( __dirname + '/static/app.html');
});

app.listen(3000, function () {
	console.log('Example app listening on port 3000!');
});
<commit_msg>Updates server to run on port 80<commit_after>var path = require('path');
var express = require('express');
var app = express();

var mongoApiUrlObj = {
	MONGO_API_URL: process.env.MONGO_API_URL
};

app.engine('html', require('ejs').renderFile);
app.set('view engine', 'html');
app.use(express.static(path.join(__dirname, '/static')));

app.get('/api/MONGO_API_URL', function (req, res){
	res.json(mongoApiUrlObj);
});

app.get('/static/*', function (req, res) {
	res.sendFile(__dirname + req.url);
});
app.get('/*', function (req, res) {
	res.sendFile( __dirname + '/static/app.html');
});

app.listen(80, function () {
	console.log('Example app listening on port 80!');
});

{'fraction_non_alphanumeric': 0.2094240837696335, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 5.5911330049261085, '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': '6756075', 'n_tokens_mistral': 492, 'n_tokens_neox': 473, 'n_words': 98}