<commit_before>package main

import (
	"net/http"
	"github.com/jcelliott/lumber"
)

func redirHandler(w http.ResponseWriter, r *http.Request) {
  newDomain := "www." + r.Host
  lumber.Info("Domain: "+newDomain)
	http.Redirect(w, r, newDomain, http.StatusFound)
	return
}

func main() {
  http.HandleFunc("/", redirHandler)
  http.ListenAndServe(":80", nil)
}<commit_msg>Add http:// to the domain.<commit_after>package main

import (
        "net/http"
        "github.com/jcelliott/lumber"
)

func redirHandler(w http.ResponseWriter, r *http.Request) {
  newDomain := "http://www." + r.Host
  lumber.Info("Domain: "+newDomain)
        http.Redirect(w, r, newDomain, http.StatusFound)
        return
}

func main() {
  http.HandleFunc("/", redirHandler)
  http.ListenAndServe(":80", nil)
}
{'fraction_non_alphanumeric': 0.16116751269035534, 'fraction_numerical': 0.005076142131979695, 'mean_word_length': 3.8703703703703702, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5348021', 'n_tokens_mistral': 290, 'n_tokens_neox': 286, 'n_words': 56}