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

app.use(express.static(path.join('./')));

app.get('/', function(request, response) {
  console.log('client');
  superagent
    .get('https://spendyapi/')
    .end(function(req, res) {
      response.send(res.text);
    });
});

var server = app.listen(process.env.PORT || 3000, function() {

  var host = server.address().address;
  var port = server.address().port;

  console.log('client server started at port ', port);

});<commit_msg>modified the api endpoint<commit_after>var express = require('express'),
    path = require('path'),
    superagent = require('superagent'),
    app = express();

app.use(express.static(path.join('./')));

app.get('/', function(request, response) {
  console.log('client');
  superagent
    .get('https://spendyapi.herokuapp.com/')
    .end(function(req, res) {
      response.send(res.text);
    });
});

var server = app.listen(process.env.PORT || 3000, function() {

  var host = server.address().address;
  var port = server.address().port;

  console.log('client server started at port ', port);

});
{'fraction_non_alphanumeric': 0.19425675675675674, 'fraction_numerical': 0.006756756756756757, 'mean_word_length': 3.8565573770491803, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5947413', 'n_tokens_mistral': 382, 'n_tokens_neox': 369, 'n_words': 75}