diff options
Diffstat (limited to 'http_global.go')
-rw-r--r-- | http_global.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/http_global.go b/http_global.go deleted file mode 100644 index 6e236a7..0000000 --- a/http_global.go +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> - -package main - -// 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, - "forge_version": VERSION, - // Some other ones are populated after config parsing -} |