Cleanup pt 1 (#4)

* Disable startup headers.

* Add banning / unbanning of specific user.
This commit is contained in:
2023-10-19 14:36:16 +01:00
committed by GitHub
parent 2be4f17ea3
commit 92359c1114
9 changed files with 223 additions and 12 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
package main
import (
"fmt"
"time"
fiber "github.com/gofiber/fiber/v2"
@@ -10,7 +9,7 @@ import (
)
func calculateHash(c *fiber.Ctx) string {
return strutil.Md5(fmt.Sprintf("%s", c.Body()))
return strutil.Md5(c.Body())
}
func enableCache() {