2022-08-04 23:41:55 +00:00
|
|
|
package pages
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/gofiber/fiber/v2"
|
|
|
|
|
2023-06-10 16:27:20 +00:00
|
|
|
"codeberg.org/rimgo/rimgo/utils"
|
2022-08-04 23:41:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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,
|
|
|
|
})
|
|
|
|
}
|