<commit_before>var express = require('express');
var app = express();
var fs = require('fs');
var quirk = require('./quirk');
var defaultquirks = require('./public/defaultquirks');
var dynamicquirks = require('./dynamicquirks');
var webpage = "<";
var quirkobjects = [];

//Serves the webpage
app.get('/', function (req, res) {
  res.send("This port is running an instance of unknownto");
  console.log("User %s attempted to GET",req.connection.remoteAddress)
});

//Host the static webpage
app.use(express.static('./public'));

app.post('/quirk/id', function (req, res) {
  res.send('Got a POST request');
  console.log("User %s attempted to POST",req.connection.remoteAddress);
  for (var i = 0; i < quirkobjects.length; i++) {
    if(quirkobjects[i]['title'] == req.query.title){
      if (typeof(req.query.geoloc)!=='undefined') quirkobjects[i]['geoloc'] = String(req.query.geoloc);<commit_msg>might work on azure now<commit_after>var app = require('./server');
var express = require('express');
var app = express();
var fs = require('fs');
var quirk = require('./quirk');
var defaultquirks = require('./public/defaultquirks');
var dynamicquirks = require('./dynamicquirks');
var webpage = "<";
var quirkobjects = [];

//Serves the webpage
app.get('/', function (req, res) {
  res.send("This port is running an instance of unknownto");
  console.log("User %s attempted to GET",req.connection.remoteAddress)
});

//Host the static webpage
app.use(express.static('./public'));

app.post('/quirk/id', function (req, res) {
  res.send('Got a POST request');
  console.log("User %s attempted to POST",req.connection.remoteAddress);
  for (var i = 0; i < quirkobjects.length; i++) {
    if(quirkobjects[i]['title'] == req.query.title){
      if (typeof(req.query.geoloc)!=='undefined') quirkobjects[i]['geoloc'] = String(req.query.geoloc);
{'fraction_non_alphanumeric': 0.1883505715841045, 'fraction_numerical': 0.0010887316276537834, 'mean_word_length': 4.986970684039088, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3243305', 'n_tokens_mistral': 597, 'n_tokens_neox': 581, 'n_words': 152}