diff options
| author | Christine Dodrill <me@christine.website> | 2019-08-06 15:05:53 +0000 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-08-06 15:05:53 +0000 |
| commit | 2565032b0b2c5386142ed083dfe95960303f8efd (patch) | |
| tree | 8e8c8b9c94352a78d52bec6bb11f74c103bc67e6 /cmd/whoisfront/main.go | |
| parent | e0aa31677b711719235f692ca7a809c999ebe01f (diff) | |
| download | x-2565032b0b2c5386142ed083dfe95960303f8efd.tar.xz x-2565032b0b2c5386142ed083dfe95960303f8efd.zip | |
text/plain
Diffstat (limited to 'cmd/whoisfront/main.go')
| -rw-r--r-- | cmd/whoisfront/main.go | 1 |
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) } |
