diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 20:37:03 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 20:37:03 +0800 |
commit | 2d0ea5ba085f9caa84a7e7b1fd55f653834009aa (patch) | |
tree | 46278813d2e2f7dd080c9289321c1021fa619e80 /http_global.go | |
parent | ircSend* shall no longer be global variables (diff) | |
download | forge-2d0ea5ba085f9caa84a7e7b1fd55f653834009aa.tar.gz forge-2d0ea5ba085f9caa84a7e7b1fd55f653834009aa.tar.zst forge-2d0ea5ba085f9caa84a7e7b1fd55f653834009aa.zip |
sshPubkey* shall no longer be global variables
Diffstat (limited to '')
-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 -} |