From f16aee45dc72680a126474e0388b8bd9d1fed568 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 15 Nov 2020 11:43:36 -0500 Subject: Return a router whih implements hander. --- http/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http') diff --git a/http/main.go b/http/main.go index d7c6399..a4ed7f6 100644 --- a/http/main.go +++ b/http/main.go @@ -27,7 +27,7 @@ var NewPage func(string) page.Page = func(u string) page.Page { // index is called var ReindexRedirectTo = "/fullIndex" -func GetHandler() http.Handler { +func GetHandler() *mux.Router { if NewPage == nil { fmt.Fprintln(os.Stderr, "Warning, global NewPage method is not defined!") } -- cgit v1.2.3