Currently whenever we want to share a file, the share url contains a default url which if for some reason is not reacheable by the browser it will fail to access it.
The proposal is to make Console handle the GET of the object instead of sending them to MinIO server.
That way it doesn't matter what the MinIO server DNS is, since you can already access Console.
Right now:

Expected Behavior
Share url uses console backend url and port
Use some other endpoint e.g. https://play.min.io:9443/api/v1/get-file/cestest/file-s2.txt?X-Amz-Algorithm=A...
Current Behavior
Share url uses 127.0.0.1 url
Steps to Reproduce (for bugs)
- Add an Object
2.Click on an object
- Click on Share File