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

Travis, leave me alone!

This commit is contained in:
Fenny 2020-02-12 02:01:14 +01:00
parent a0f00dbb6b
commit e584d27121

View File

@ -8,7 +8,6 @@
package fiber
import (
"fmt"
"log"
"path/filepath"
"regexp"
@ -133,7 +132,6 @@ func (app *Application) register(method string, args ...interface{}) {
// If path has no params (simple path), we don't need regex (also for use())
if midware || len(params) == 0 {
app.routes = append(app.routes, &Route{method, path, midware, false, nil, nil, handler})
fmt.Println(app.routes[0])
return
}