rimgo/pages/privacy.go

18 lines
288 B
Go

package pages
import (
"github.com/gofiber/fiber/v2"
"codeberg.org/rimgo/rimgo/utils"
)
func HandlePrivacy(c *fiber.Ctx) error {
utils.SetHeaders(c)
c.Set("X-Frame-Options", "DENY")
return c.Render("privacy", fiber.Map{
"config": utils.Config,
"version": VersionInfo,
})
}