Fix bug in route when trying to access with url http://localhost/0/