Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding rocket_uploads paths in rocketchat #31

Open
g1patnaik opened this issue May 22, 2023 · 0 comments
Open

Question regarding rocket_uploads paths in rocketchat #31

g1patnaik opened this issue May 22, 2023 · 0 comments

Comments

@g1patnaik
Copy link

g1patnaik commented May 22, 2023

Hi,

Thanks for the tool, it was useful with little tweaks for the version we are using.

However, I am bit confused on the paths used for attachment. My apologies to ask this question here instead of RocketChat Forum, as I was unable to get any response there. Could you kindly help me with the below query?

Is url in rocketchat_uploads collection in mongodb supposed to have an absolute path like https://site.com/\<path> or just <path>?
In one of our test instances running rocket chat version 1.x, it is using relative paths, but another instance of 3.x version is using absolute paths.

So I wonder if it is our misconfiguration in the 3.x instance, as my understanding is that the absolute paths will break once the site’s ROOT_URL is changed.
So which is the supposed way and what could cause the absolute paths in URL instead of relative paths?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant