diff options
Diffstat (limited to 'http_handle_index.go')
-rw-r--r-- | http_handle_index.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http_handle_index.go b/http_handle_index.go index 755e7c4..a519a5a 100644 --- a/http_handle_index.go +++ b/http_handle_index.go @@ -1,7 +1,7 @@ // SPDX-License-Identifier: AGPL-3.0-only // SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> -package main +package forge import ( "net/http" @@ -12,7 +12,7 @@ import ( // httpHandleIndex provides the main index page which includes a list of groups // and some global information such as SSH keys. -func (s *server) httpHandleIndex(writer http.ResponseWriter, request *http.Request, params map[string]any) { +func (s *Server) httpHandleIndex(writer http.ResponseWriter, request *http.Request, params map[string]any) { var err error var groups []nameDesc |