Skip to content

Commit b3105d1

Browse files
authored
Merge pull request #65 from renanbastos93/patch-1
fix: small type to use redirect meddleware
2 parents af3afb8 + 69c83b4 commit b3105d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ func main() {
569569
"/old": "/new",
570570
"/old/*": "/new/$1",
571571
},
572-
Status: 301,
572+
StatusCode: 301,
573573
}))
574574

575575
app.Get("/new", func(c *fiber.Ctx) {

0 commit comments

Comments
 (0)