update literal to segment

We can visit `http://domain.com/admin` or `http://domain.com/admin/`