Erase last / to server url