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:
parent
a0f00dbb6b
commit
e584d27121
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user