Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

desktop app do not show pasted image

Open ntvis opened this issue 9 years ago • 1 comments

Description:

Server Setup Information:

  • Version of Rocket.Chat Server: 0.58.4
  • Operating System: ubunut 16.04 x64
  • Deployment Method(snap/docker/tar/etc): tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Disabled
  • Node Version: v4.5.0
  • desktop app version: 2.9.0
  • desktop app OS: windows 7 x64

Steps to Reproduce:

  1. paste a image in channel
  2. desktop app do not show the image

Expected behavior:

desktop app show the image

Actual behavior:

desktop app do not show the image,but in navigator,the image is shown.

after some research ,I find the diffrent between the desktop app and navigator:

in navigator, the image src is https://mydomain/chat/chat/file-upload/YRZki2DeLLtZibXHk/WX20171016-093654.png

in app ,the image src is /chat/file-upload/YRZki2DeLLtZibXHk/WX20171016-093654.png

and my server run behind a reserve proxy server sub directory /chat https://mydomain/chat/

It seems that the desktop app ignor the sub path /chat/ Is this a bug?

ntvis avatar Oct 16 '17 05:10 ntvis

Hey, thanks for reporting. This is an issue on the server running behind a proxy, please check the main repository for similar issues and add your case as well. Thanks.

gdelavald avatar Oct 16 '17 11:10 gdelavald