It is possible to make trailing slash optional