<commit_before>const express = require('express')
const app = express()

const path = require('path')
const WebFlight = require('/Users/carolgonzalez/Desktop/WebFlight/index.js')
app.set('view engine', 'ejs');
const wfObj = {
  siteUrl: 'http://localhost:3000',
  assetsPath: [path.join(__dirname, 'img'), path.join(__dirname, 'videos')],
  assetsRoute: ['bird-imgs/', 'bird-videos/', 'other-imgs/'],
  routes: {
    '/': path.join(__dirname, 'simple.ejs'),
    '/how.html': path.join(__dirname, 'how.html')
  }
}

const wf = new WebFlight(wfObj, __dirname)

wf.init()

app.use(wf.watch.bind(wf))

app.get('/', (req, res) => {<commit_msg>fixed the way that the index.js filePath is being required in server.js of the testwebsite<commit_after>const express = require('express')
const app = express()

const path = require('path')
const WebFlight = require('../../../index.js')
app.set('view engine', 'ejs');
const wfObj = {
  siteUrl: 'http://localhost:3000',
  assetsPath: [path.join(__dirname, 'img'), path.join(__dirname, 'videos')],
  assetsRoute: ['bird-imgs/', 'bird-videos/', 'other-imgs/'],
  routes: {
    '/': path.join(__dirname, 'simple.ejs'),
    '/how.html': path.join(__dirname, 'how.html')
  }
}

const wf = new WebFlight(wfObj, __dirname)

wf.init()

app.use(wf.watch.bind(wf))

app.get('/', (req, res) => {
  console.log('what is __dirname', __dirname);
{'fraction_non_alphanumeric': 0.20656934306569344, 'fraction_numerical': 0.00583941605839416, 'mean_word_length': 4.573170731707317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2871569', 'n_tokens_mistral': 512, 'n_tokens_neox': 492, 'n_words': 106}