Removes the now unnessasary https check.