Add override for endpoint.

This allows you to upload to a server of your choosing, rather than the hardcoded default.