aboutsummaryrefslogtreecommitdiff
path: root/http_global.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_global.go')
-rw-r--r--http_global.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/http_global.go b/http_global.go
index 02892c9..6e236a7 100644
--- a/http_global.go
+++ b/http_global.go
@@ -3,7 +3,9 @@
package main
-// globalData is passed as "global" when rendering HTML templates.
+// globalData is passed as "global" when rendering HTML templates and contains
+// global data that should stay constant throughout an execution of Lindenii
+// Forge as no synchronization mechanism is provided for updating it.
var globalData = map[string]any{
"server_public_key_string": &serverPubkeyString,
"server_public_key_fingerprint": &serverPubkeyFP,