Removed '-api' from server url regex matching