aboutsummaryrefslogblamecommitdiff
path: root/http_global.go
blob: f793c24b305814b66c52d6383f7367358f8ce9cb (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                       

            

                                                                  

                                                             
                                                 
                                                             
 
// SPDX-License-Identifier: AGPL-3.0-only
// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>

package main

// globalData is passed as "global" when rendering HTML templates.
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
}