From 62891d7c218c3ad30f92adef076fc79c4af6a7e8 Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sun, 29 Oct 2023 10:05:56 +1100 Subject: [PATCH] Fixed root redirect --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a08e2a7..afc22cd 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,7 @@ func main() { r.Handle(route.From+"/", redirectTo(route.To)) r.Handle(route.From, redirectTo(route.To)) } - r.Handle("/", redirectTo("/")) + r.Handle("/", redirectTo("https://lmika.org/")) svr := http.Server{ Addr: fmt.Sprintf(":%v", port),