<commit_before>var express = require('express');
var path = require('path');
var favicon = require('static-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');

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

var app = express();

var apiUrl = 'http://127.0.0.1:3001/';
var webPort = 3002;

process.argv.slice( 2 ).forEach( function( value ) {
    console.log( value );
    var split = value.split('=');
    if( split[ 0 ].toLowerCase() === 'apiurl' ) apiUrl = split[ 1 ];
} );

app.locals.apiUrl = apiUrl;

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');<commit_msg>restored default apiUrl<commit_after>var express = require('express');
var path = require('path');
var favicon = require('static-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');

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

var app = express();

var apiUrl = 'https://api.transparantnederland.nl/';
var webPort = 3002;

process.argv.slice( 2 ).forEach( function( value ) {
    console.log( value );
    var split = value.split('=');
    if( split[ 0 ].toLowerCase() === 'apiurl' ) apiUrl = split[ 1 ];
} );

app.locals.apiUrl = apiUrl;

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');
{'fraction_non_alphanumeric': 0.19568151147098514, 'fraction_numerical': 0.016194331983805668, 'mean_word_length': 4.6603053435114505, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5635951', 'n_tokens_mistral': 489, 'n_tokens_neox': 478, 'n_words': 125}