aboutsummaryrefslogtreecommitdiff
path: root/internal/unsorted/http_handle_users.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-06 01:55:21 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-06 02:08:58 +0800
commitfaa5ca8fab23176d390e9522f1485d467851545b (patch)
treed3b1d081e0ea5e7f71a94dc1d301e2540a8abcc8 /internal/unsorted/http_handle_users.go
parentSlight refactor on NewServer (diff)
downloadforge-faa5ca8fab23176d390e9522f1485d467851545b.tar.gz
forge-faa5ca8fab23176d390e9522f1485d467851545b.tar.zst
forge-faa5ca8fab23176d390e9522f1485d467851545b.zip
Move stuff into internal/unsortedv0.1.28
Diffstat (limited to 'internal/unsorted/http_handle_users.go')
-rw-r--r--internal/unsorted/http_handle_users.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/unsorted/http_handle_users.go b/internal/unsorted/http_handle_users.go
new file mode 100644
index 0000000..7b0f657
--- /dev/null
+++ b/internal/unsorted/http_handle_users.go
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
+package unsorted
+
+import (
+ "net/http"
+
+ "go.lindenii.runxiyu.org/forge/internal/web"
+)
+
+// httpHandleUsers is a useless stub.
+func (s *Server) httpHandleUsers(writer http.ResponseWriter, _ *http.Request, params map[string]any) {
+ web.ErrorPage501(s.templates, writer, params)
+}