AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

URLs without FQDN in Web (self hosted)

Open mibeon opened this issue 8 months ago • 4 comments

Hey guys,

I installed a self hosted version of AppFlowy on my ubuntu server. Everything is working fine, except one thing.

Everything I link or upload in the desktop app works both in the desktop app and in the browser. I can click on a file in both the browser and the desktop app, and it opens in the browser. When I copy a link, it is a fully qualified domain name (FQDN) link with 'https://notes.mydomain.com/'. If I upload or link something in the browser, it only works in the browser but not in the desktop app. When I copy the link here, it is not an FQDN link. The 'https://notes.mydomain.com/' part is missing, and it starts directly with '/api/file_storage/...'. Does anyone know how I can make sure that when uploading in the browser, the media also form a full link?

mibeon avatar May 27 '25 14:05 mibeon

Could you show us a video or a screenshot that illustrates this? I wasn't able to reproduce this issue on the managed service. Also, is the appflowy web image up to date (i.e. whether you have run docker compose pull to update the images)

khorshuheng avatar May 28 '25 02:05 khorshuheng

Could you show us a video or a screenshot that illustrates this? I wasn't able to reproduce this issue on the managed service. Also, is the appflowy web image up to date (i.e. whether you have run docker compose pull to update the images)

Here we go.

https://github.com/user-attachments/assets/0f3671d7-e702-46d2-9b04-a2f4ac78ca0e

mibeon avatar May 28 '25 05:05 mibeon

Could you show us a video or a screenshot that illustrates this? I wasn't able to reproduce this issue on the managed service. Also, is the appflowy web image up to date (i.e. whether you have run docker compose pull to update the images)

I run all the stuff with docker and nginx as reverse proxy for using my subdomain. The version is up to date. I installed it yesterday. I also done full images rebuilding.

Everything is working, as I said, except the issue with not having FQDN urls for stuff uploaded in the browser.

mibeon avatar May 28 '25 06:05 mibeon

I am able to reproduce the issue. I believe this only affect the self hoster and not the managed service. Will try to find a way to fix this.

Meanwhile, you can download the file via the download button (the right side of the block, when you hover over it) instead of clicking on the block directly or copy url.

khorshuheng avatar May 28 '25 06:05 khorshuheng