1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-22 21:23:46 +00:00

Update router.go

This commit is contained in:
Fenny 2020-06-21 10:47:11 +02:00
parent 09116ae22b
commit c0f26798a8

View File

@ -323,7 +323,4 @@ func (app *App) addRoute(method string, route *Route) {
m := methodINT[method]
// Add route to the stack
app.stack[m] = append(app.stack[m], route)
// Add route to method allowed slice
app.stack[9] = append(app.stack[9], route)
}