mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
totally didnt forget to rename shit
This commit is contained in:
+3
-3
@@ -22,7 +22,7 @@ type PrivacyInfo struct {
|
||||
UserAgent string
|
||||
}
|
||||
|
||||
func HandlePrivacy(c *fiber.Ctx) error {
|
||||
func HandleAbout(c *fiber.Ctx) error {
|
||||
var privacyInfoArray []PrivacyInfo
|
||||
privacyInfoArray = append(privacyInfoArray, PrivacyInfo{
|
||||
IPAddr: os.Getenv("GOTHUB_IP_LOGGED"),
|
||||
@@ -38,8 +38,8 @@ func HandlePrivacy(c *fiber.Ctx) error {
|
||||
GoVersion: runtime.Version(),
|
||||
})
|
||||
|
||||
return c.Render("privacy", fiber.Map{
|
||||
"title": "Instance Privacy",
|
||||
return c.Render("about", fiber.Map{
|
||||
"title": "About this instance",
|
||||
"privacyInformation": privacyInfoArray,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user