1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 09:23:39 +00:00
This commit is contained in:
Fenny 2020-02-04 13:55:18 +01:00
parent afeaecd044
commit c29b4c576f

View File

@ -3,12 +3,12 @@ package middleware
import (
"fmt"
"github.com/fenny/fiber"
"github.com/gofiber/fiber"
)
// Helmet : Helps secure your apps by setting various HTTP headers.
func Helmet() func(*fiber.Midware) {
return func(c *fiber.Midware) {
func Helmet() func(*fiber.Ctx) {
return func(c *fiber.Ctx) {
fmt.Println("Helmet is still under development, this middleware does nothing yet.")
c.Next()
}