<commit_before>/**
 * Created by darthtrevino on 6/22/15.
 */<commit_msg>#25 - adding the route rewriting<commit_after>"use strict";

module.exports = {
    name: "route rewriting",
    configure(app) {
        app.get(/^(?!\/api|.*\.).*/, (req, res, next) => {
            req.url = "/index.html";
            next();
        });
    }
};

{'fraction_non_alphanumeric': 0.21176470588235294, 'fraction_numerical': 0.020588235294117647, 'mean_word_length': 2.1, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6980490', 'n_tokens_mistral': 124, 'n_tokens_neox': 116, 'n_words': 24}