<commit_before>/**
 *Blobber Server
 *Written by <NAME>
 *<EMAIL>
 */
/*Express Module Import*/
var express = require('express');
/*Path Module for file I/O*/
var path = require('path');
/*Favicon Module*/
var favicon = require('serve-favicon');
/*Morgan Logger Module*/
var logger = require('morgan');
/*Eexpress-Session Module*/
var expressSession = require('express-session');
/*Cookie-Parser Module*/
var cookieParser = require('cookie-parser');
/*URL Parameter parsing Module*/
var bodyParser = require('body-parser');

/*index routes*/
var index = require('./routes/index');
/*user routes*/
var api = require('./routes/api');

/*Instantiate Express Module*/
var app = express();

// view engine setup
app.set('views', path.join(__dirname, 'views'));
//EJS view engine is used
app.set('view engine', 'ejs');

// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: false
}));
app.use(cookieParser());
app.use(expressSession({<commit_msg>updates<commit_after>/**
 *Blobber Server
 *Written by <NAME>
 *<EMAIL>
 */
/*Express Module Import*/
var express = require('express');
/*Path Module for file I/O*/
var path = require('path');
/*Favicon Module*/
var favicon = require('serve-favicon');
/*Morgan Logger Module*/
var logger = require('morgan');
/*Eexpress-Session Module*/
var expressSession = require('express-session');
/*Cookie-Parser Module*/
var cookieParser = require('cookie-parser');
/*URL Parameter parsing Module*/
var bodyParser = require('body-parser');

/*App routes*/
var index = require('./routes/index');
/*API routes*/
var api = require('./routes/api');

/*Instantiate Express Module*/
var app = express();

// view engine setup
app.set('views', path.join(__dirname, 'views'));
//EJS view engine is used
app.set('view engine', 'ejs');

// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: false
}));
app.use(cookieParser());
app.use(expressSession({
{'fraction_non_alphanumeric': 0.18952164009111616, 'fraction_numerical': 0.0, 'mean_word_length': 5.151260504201681, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3235429', 'n_tokens_mistral': 674, 'n_tokens_neox': 667, 'n_words': 191}