URL listing in routes / == /:path where path is a an empty var


(Albaro Pereyra) #1


I’d like to know how I can have:
GET index/
GET index/:path
GET index/:path
There seems to be some invisible regex after the ‘/’
I am guessing it is something along the lines of
GET index/:path<^*$>
I am not sure if this is even possible or if this is only a test env listing that is shown when I go to index/ without any characters after the /.

Please advise,