From 54a19febc0c7c49caa014254cabab571abad60ab Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 19:45:17 +0800 Subject: misc: Move url.go into the misc package --- http_handle_group_index.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'http_handle_group_index.go') diff --git a/http_handle_group_index.go b/http_handle_group_index.go index 67cffd8..568a38e 100644 --- a/http_handle_group_index.go +++ b/http_handle_group_index.go @@ -11,6 +11,7 @@ import ( "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgtype" + "go.lindenii.runxiyu.org/forge/misc" ) // httpHandleGroupIndex provides index pages for groups, which includes a list @@ -130,7 +131,7 @@ func httpHandleGroupIndex(writer http.ResponseWriter, request *http.Request, par return } - redirectUnconditionally(writer, request) + misc.RedirectUnconditionally(writer, request) return } -- cgit v1.2.3