Readd Redirector config

This commit is contained in:
video-prize-ranch
2022-03-22 16:56:27 -04:00
parent 7a0248f5aa
commit 5522ec8e99
3 changed files with 29 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ func HandleFrontpage(c *fiber.Ctx) error {
c.Set("Content-Security-Policy", "default-src 'none'; style-src 'self'; img-src 'self'; font-src 'self'; block-all-mixed-content")
return c.Render("frontpage", fiber.Map{
"proto": c.Protocol(),
"domain": c.Hostname(),
})
}