<commit_before>var express = require('express');
var router = express.Router();

/* GET home page. */
var handler = function (req, res) {
  //res.render('index');
  res.sendFile('/app/index.html');
};

router.get('/', handler);
router.get('/beans', handler);
router.get('/beans/:id', handler);
router.get('/roasters', handler);
router.get('/roasters/:id', handler);
router.get('/roasters/:id/:bean', handler);
router.get('/coffepoints', handler);
router.get('/coffepoints/:id', handler);

router.get('/map', handler);

router.get('/contact', handler);
router.get('/about', handler);

module.exports = router;
<commit_msg>#21: fixed serving local paths<commit_after>var express = require('express');
var router = express.Router();

/* GET home page. */
var handler = function (req, res) {
  //res.render('index');
  res.sendFile('/app/index.html', {root: __dirname + '/..'});
};

router.get('/', handler);
router.get('/beans', handler);
router.get('/beans/:id', handler);
router.get('/roasters', handler);
router.get('/roasters/:id', handler);
router.get('/roasters/:id/:bean', handler);
router.get('/coffepoints', handler);
router.get('/coffepoints/:id', handler);

router.get('/map', handler);

router.get('/contact', handler);
router.get('/about', handler);

module.exports = router;

{'fraction_non_alphanumeric': 0.2332814930015552, 'fraction_numerical': 0.0015552099533437014, 'mean_word_length': 5.3088235294117645, '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': '6765383', 'n_tokens_mistral': 412, 'n_tokens_neox': 412, 'n_words': 86}