<commit_before>var express = require('express');
var videos = require('./videos');
var config = require('../config');
var template = require('./template');

var app = express();
app.use(require('body-parser').json());

app.use(function (req, res, next) {
	res.set({
		'Access-Control-Allow-Origin': '*',
		'Access-Control-Allow-Headers': 'Content-Type'
	});
	next();
});

app.get('/clips', function (req, res) {
	videos.getClips(function (err, clips) {
		res.send(clips);
	});
});

app.get('/', function (req, res) {
	res.send(template.render());
});

app.get('/videos/:id', function (req, res) {<commit_msg>test deploy process<commit_after>var express = require('express');
var videos = require('./videos');
var config = require('../config');
var template = require('./template');

var app = express();
app.use(require('body-parser').json());

app.use(function (req, res, next) {
	res.set({
		'Access-Control-Allow-Origin': '*',
		'Access-Control-Allow-Headers': 'Content-Type'
	});
	next();
});

app.get('/clips', function (req, res) {
	videos.getClips(function (err, clips) {
		res.send(clips);
	});
});

app.get('/test', function (req, res) {
	res.send('IT WORKS!');
});

app.get('/', function (req, res) {
	res.send(template.render());
});

app.get('/videos/:id', function (req, res) {
{'fraction_non_alphanumeric': 0.24186046511627907, 'fraction_numerical': 0.0, 'mean_word_length': 4.763392857142857, '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': '1299510', 'n_tokens_mistral': 468, 'n_tokens_neox': 452, 'n_words': 92}