Closed gocebonev closed 3 years ago
Thanks @gocebo I'll look at this asap
@gocebo sorry for the delay in fixing, seems there was a change in FastRoute, so now I'm pre-checking conditions before mapping routes.
I've had to make this a 6.x release as it breaks the cached router, another small BC change will come alongside it but it will be a minimal upgrade procedure
I spoke too soon on it being a BC break, it isn't, so I've tagged 5.1.1
In v5.0.1 the host condition is not working. The following code worked ok with 4.5 but throws an error in 5.
Error: Can not register two routes for '/'.