rimgo/pages/privacy.go

20 lines
324 B
Go
Raw Normal View History

package pages
import (
"github.com/gofiber/fiber/v2"
"codeberg.org/video-prize-ranch/rimgo/utils"
)
var VersionInfo string
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,
})
}