Skip to content

Make ShareLink URL point to Console instead to MinIO Server #3255

@cesnietor

Description

@cesnietor

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:
Screenshot 2024-03-06 at 5 27 54 PM

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)

  1. Add an Object
    2.Click on an object
  2. Click on Share File

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions