<commit_before>var express = require('express');
var path = require('path');
var bodyParser = require('body-parser');

var app = express();

app.use(bodyParser.json());

app.get('/card', function(req, res) {
  res.sendFile(path.join('..', 'clients', 'sender', 'index.html'));
});

app.get('/receiver', function(req, res) {
  res.sendFile(path.join('..', 'clients', 'receiver', 'index.html'));
});

app.use(function(req, res) {
  res.status(404).send("Sorry can't find what you're looking for!");
});

app.listen(8000, () => {
  console.log('Server is listening on port 8000!');
});<commit_msg>Fixed routes to html files<commit_after>var express = require('express');
var path = require('path');
var bodyParser = require('body-parser');

var app = express();

app.use(bodyParser.json());

app.get('/card', function(req, res) {
  res.sendFile(path.join(__dirname, '..', 'clients', 'sender', 'index.html'));
});

app.get('/receiver', function(req, res) {
  res.sendFile(path.join(__dirname, '..', 'clients', 'receiver', 'index.html'));
});

app.use(function(req, res) {
  res.status(404).send("ERROR 404 Sorry can't find what you're looking for!");
});

app.listen(8000, () => {
  console.log('Server is listening on port 8000!');
});
{'fraction_non_alphanumeric': 0.22908204711616573, 'fraction_numerical': 0.020308692120227456, 'mean_word_length': 5.383419689119171, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '459815', 'n_tokens_mistral': 438, 'n_tokens_neox': 412, 'n_words': 92}