totally didnt forget to rename shit

This commit is contained in:
Arya Kiran
2023-03-10 17:56:19 +05:30
parent 5a0e930224
commit a6d8d7697c
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -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,
})
}
View File