<commit_before>var express = require('express');
var app = express();
app.set('port', process.env.PORT || 80);
app.use(function(req, res, next) {
  res.setHeader('Strict-Transport-Security', 'max-age=0');
  res.redirect(301, 'https://www.artsy.net' + req.url);
});
app.listen(app.get('port'), function() {
  console.log("Listening on " + app.get('port'));
});<commit_msg>try that :-/<commit_after>var express = require('express');
var https = require('https');
var http = require('http');
var app = express();
app.use(function(req, res, next) {
  res.setHeader('Strict-Transport-Security', 'max-age=0');
  res.redirect(301, 'https://www.artsy.net' + req.url);
});
http.createServer(app).listen(80);
https.createServer(options, app).listen(443);
{'fraction_non_alphanumeric': 0.22446236559139784, 'fraction_numerical': 0.020161290322580645, 'mean_word_length': 5.898148148148148, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4344614', 'n_tokens_mistral': 266, 'n_tokens_neox': 255, 'n_words': 47}