fix api url patterns if located at / (root)
some documentation