It is likely that you want to use Medium to drive traffic to your website; hence, it is recommended to keep all the backlinks going to your original website rather than to the content republished on Medium.