From c930c458d721b25facb42448764d6020d9f874c2 Mon Sep 17 00:00:00 2001 From: herkulessi Date: Mon, 6 Jul 2026 21:54:41 +0200 Subject: redirect to stuve notes instead --- main.go | 2 +- migrated | Bin 0 -> 44 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 migrated 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) } diff --git a/migrated b/migrated new file mode 100644 index 0000000..8995e97 Binary files /dev/null and b/migrated differ -- cgit v1.2.3