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

[Bug] Self-Hosted: Incorrect URLs for Attached Files After Domain Change #6498

Open
capybaras-team opened this issue Oct 7, 2024 · 2 comments

Comments

@capybaras-team
Copy link

Bug Description

After changing the domain, all images and files stored in Appflowy Cloud became inaccessible because the links still point to the old domain.

How to Reproduce

  1. Install Appflowy Cloud on your server using DomainName1.com.
  2. Log in from two different accounts on different devices using DomainName1.com.
  3. On Device1, create a document and attach files using the following blocks: File, Photo Gallery, Image.
  4. Change the domain or IP address of the server and update the .env file with the new URL (for example DomainName2.com).
  5. Update the URLs on the client-side, restart the app, and login again.
  6. Try to access the attached files from Device2.

Expected Behavior

The URLs for the files should update according to the new server URL.

Operating System

Windows, IOS, Android

AppFlowy Version(s)

0.7.0.0

Screenshots

No response

Additional Context

No response

@Xazin
Copy link
Collaborator

Xazin commented Oct 7, 2024

Duplicate of #6385

@Xazin Xazin marked this as a duplicate of #6385 Oct 7, 2024
@Xazin Xazin closed this as completed Oct 7, 2024
@Xazin Xazin marked this as not a duplicate of #6385 Oct 7, 2024
@Xazin
Copy link
Collaborator

Xazin commented Oct 7, 2024

Oh wait, I just re-read the issue.

You want to be able to migrate from one domain to another, and for it to affect files/images in documents?

@Xazin Xazin reopened this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants