<commit_before>#!/bin/env node
var express = require("express");
var app = express();

var ejs = require('ejs');

app.use('/static',express.static(__dirname + "/static"));
app.set("views",__dirname + '/view/');
app.set("view engine","ejs");
//app.engine("html",require('ejs').renderFile);

app.get('/',function(req,res){
	ejs.renderFile('view/frame.html',{},function(err,html){
		if(err){
			console.error(err);
		}else{
			res.end(html);
		}
	});
});

app.get('/index.html',function(req,res){
	app.render('frame',{},function(err,html){
		if(err){
                        console.error(err);
                }else{
			res.setHeader("Content-Type","text/html");
                        res.end(html);
                }
	});
})
// port has been changed
app.listen(3005);<commit_msg>change port again<commit_after>#!/bin/env node
var express = require("express");
var app = express();

var ejs = require('ejs');

app.use('/static',express.static(__dirname + "/static"));
app.set("views",__dirname + '/view/');
app.set("view engine","ejs");
//app.engine("html",require('ejs').renderFile);

app.get('/',function(req,res){
	ejs.renderFile('view/frame.html',{},function(err,html){
		if(err){
			console.error(err);
		}else{
			res.end(html);
		}
	});
});

app.get('/index.html',function(req,res){
	app.render('frame',{},function(err,html){
		if(err){
                        console.error(err);
                }else{
			res.setHeader("Content-Type","text/html");
                        res.end(html);
                }
	});
})
// port has been changed
app.listen(3010);
{'fraction_non_alphanumeric': 0.22506393861892582, 'fraction_numerical': 0.005115089514066497, 'mean_word_length': 3.195710455764075, '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': '4236917', 'n_tokens_mistral': 559, 'n_tokens_neox': 524, 'n_words': 73}