<commit_before>'use strict';

var express = require('express')
  , less = require('less-middleware')
  , morgan  = require('morgan')
  , path    = require('path');

var routes  = require('./routes');

var app = module.exports = express();

app.set('port', process.env.PORT || 3000);

app.set('views', __dirname);
app.set('view engine', 'jade');

app.use(less(path.join(process.cwd(),'node_server/www')));

app.locals.title = 'Entities';

app.use(morgan('dev'));

app.use(express.static((path.join(process.cwd(),'node_server/www'))));
app.use('/', routes);

require('../lib/errorHandler/');

var server = app.listen(app.get('port'), () => {
  var port = server.address().port;
  var mode = app.get('env');

  console.log(`Server listening on port ${port} in ${mode} mode . . .`);
});<commit_msg>Changing folder because cwd changed. This is more like how it will be on the server<commit_after>'use strict';

var express = require('express')
  , less = require('less-middleware')
  , morgan  = require('morgan')
  , path    = require('path');

var routes  = require('./routes');

var app = module.exports = express();

app.set('port', process.env.PORT || 3000);

app.set('views', __dirname);
app.set('view engine', 'jade');

app.use(less(path.join(process.cwd(),'www')));

app.locals.title = 'Entities';

app.use(morgan('dev'));

app.use(express.static((path.join(process.cwd(),'www'))));
app.use('/', routes);

require('../lib/errorHandler/');

var server = app.listen(app.get('port'), () => {
  var port = server.address().port;
  var mode = app.get('env');

  console.log(`Server listening on port ${port} in ${mode} mode . . .`);
});
{'fraction_non_alphanumeric': 0.22460220318237453, 'fraction_numerical': 0.004895960832313341, 'mean_word_length': 4.618556701030927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4004806', 'n_tokens_mistral': 565, 'n_tokens_neox': 560, 'n_words': 117}