summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 0742907..c345f7a 100644
--- a/main.go
+++ b/main.go
@@ -131,7 +131,7 @@ func main() {
migrate(id)
http.Redirect(w, r, "https://notes.stuve.fau.de/stuve-etherpad-migrated-"+id, 302)
})
- http.HandleFunc("GET /", func(w http.ResponseWriter, r *http.Request) {w.WriteHeader(204)})
+ http.HandleFunc("GET /", func(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "https://notes.stuve.fau.de", 302) })
err = http.ListenAndServe("[::]:8080", nil)
panic(err)
}