remove trailing slash on config url