diff options
| author | herkulessi <git@herkulessi.de> | 2026-07-06 21:54:41 +0200 |
|---|---|---|
| committer | herkulessi <git@herkulessi.de> | 2026-07-06 21:55:03 +0200 |
| commit | c930c458d721b25facb42448764d6020d9f874c2 (patch) | |
| tree | 6a41ae3741d96d89376ed1a08b7f632213ce4287 /main.go | |
| parent | c928a3776859f2f834a8d3148cb0436a14e3e86a (diff) | |
redirect to stuve notes instead
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |
