<commit_before>var Hapi = require('hapi');
var sync = require('./lib/sync');
var store = require('./lib/store');

// Create a server with a host and port
var server = new Hapi.Server();
server.connection({
    host: 'localhost',
    port: 8000
});

// Add the route
server.route({
    method: 'GET',
    path:'/sync',
    handler: function (request, reply) {
      sync.get();
      reply(new Date());
    }
});

server.route({<commit_msg>change host<commit_after>var Hapi = require('hapi');
var sync = require('./lib/sync');
var store = require('./lib/store');

// Create a server with a host and port
var server = new Hapi.Server();
server.connection({
    host: '0.0.0.0',
    port: 8000
});

// Add the route
server.route({
    method: 'GET',
    path:'/sync',
    handler: function (request, reply) {
      sync.get();
      reply(new Date());
    }
});

server.route({
{'fraction_non_alphanumeric': 0.18649885583524028, 'fraction_numerical': 0.013729977116704805, 'mean_word_length': 3.0697674418604652, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4363534', 'n_tokens_mistral': 290, 'n_tokens_neox': 281, 'n_words': 82}