Removed trailing slash when the route path is empty

ws.POST("") for example will produce a path like /rootpath/

Note the trailing slash. It should be /rootpath