aboutsummaryrefslogtreecommitdiff
path: root/handle_index.go
diff options
context:
space:
mode:
Diffstat (limited to 'handle_index.go')
-rw-r--r--handle_index.go1
1 files changed, 1 insertions, 0 deletions
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 {