From 11a8f2889e874ecebdbc49a6887918c7b043c503 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 22:37:51 +0800 Subject: {ssh,global}.go, index.html: Add global data containing ssh fp --- handle_index.go | 1 + 1 file changed, 1 insertion(+) (limited to 'handle_index.go') diff --git a/handle_index.go b/handle_index.go index c631546..bf36f98 100644 --- a/handle_index.go +++ b/handle_index.go @@ -6,6 +6,7 @@ import ( func handle_index(w http.ResponseWriter, r *http.Request) { data := make(map[string]any) + data["global"] = global_data rows, err := database.Query(r.Context(), "SELECT name FROM groups") if err != nil { -- cgit v1.2.3