aboutsummaryrefslogtreecommitdiff
path: root/cmd/whoisfront/main.go
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2019-08-06 15:05:53 +0000
committerChristine Dodrill <me@christine.website>2019-08-06 15:05:53 +0000
commit2565032b0b2c5386142ed083dfe95960303f8efd (patch)
tree8e8c8b9c94352a78d52bec6bb11f74c103bc67e6 /cmd/whoisfront/main.go
parente0aa31677b711719235f692ca7a809c999ebe01f (diff)
downloadx-2565032b0b2c5386142ed083dfe95960303f8efd.tar.xz
x-2565032b0b2c5386142ed083dfe95960303f8efd.zip
text/plain
Diffstat (limited to 'cmd/whoisfront/main.go')
-rw-r--r--cmd/whoisfront/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/whoisfront/main.go b/cmd/whoisfront/main.go
index 73ec556..ce3aff7 100644
--- a/cmd/whoisfront/main.go
+++ b/cmd/whoisfront/main.go
@@ -46,5 +46,6 @@ func handle(w http.ResponseWriter, r *http.Request) {
panic(err)
}
+ w.Header().Set("Content-Type", "text/plain")
fmt.Fprint(w, st.Front)
}