Changed file extensions + single issue view

This commit is contained in:
Simon Martens
2024-12-03 16:51:36 +01:00
parent 51afda5ff2
commit 71927afebd
21 changed files with 222 additions and 188 deletions

8
server/helpers.go Normal file
View File

@@ -0,0 +1,8 @@
package server
import "github.com/gofiber/fiber/v2"
func CacheFunc(c *fiber.Ctx) bool {
return c.Query("noCache") == "true" || c.Response().StatusCode() != fiber.StatusOK
}