Skip to content

[Sandstorm] Uploads are improperly linked #910

@pjamar

Description

@pjamar

After uploading an image the resultant link in the chatroom wouldn't point to the proper place.

Steps to reproduce:

  1. Install Sandstorm instance
  2. Open general chat channel
  3. Push the clip icon and select and image to upload
  4. Upload
  5. Once finished a link to localhost will appear "http://127.0.0.1:8000/ufs/rocketchat_uploads/DNcsdWrAXzCPutzpx.jpg"

Expected:
Find a link that works. In my specific case I could see the image by using two URIs:

  • my_grain_uri/ufs/rocketchat_uploads/DNcsdWrAXzCPutzpx.jpg although with Sandstorm.io frame on it (not suitable for download)
  • long_id.myhostname.com/ufs/rocketchat_uploads/DNcsdWrAXzCPutzpx.jpg

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions