AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

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

Open capybaras-team opened this issue 1 year ago • 2 comments

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

capybaras-team avatar Oct 07 '24 10:10 capybaras-team

Duplicate of #6385

Xazin avatar Oct 07 '24 10:10 Xazin

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 avatar Oct 07 '24 10:10 Xazin