So I have noticed that when you upload a file to Flarum using your tool, if you look at the code for the post it will have something like this:
[upl-image-preview uuid=ebd0eafb-8335-4f46-b3db-2723ccaf07d3 url=https://domain.com/assets/files/2024-12-31/1735616935-268987-img-20181127-155639-193-copy.jpg alt={TEXT?}]
And in the database, the fof_upload_files table if you look at the url column, it is also reverencing the full path.
Is there a reason why you would use the absolute path when storing the file locally? I understand if using a CDN or a 3rd part toool you would need to have a full URL.
I feel like this would cause issues if i ever need to change my domain name or do testing on a dev server..
Thanks all!
So I have noticed that when you upload a file to Flarum using your tool, if you look at the code for the post it will have something like this:
And in the database, the
fof_upload_filestable if you look at theurlcolumn, it is also reverencing the full path.Is there a reason why you would use the absolute path when storing the file locally? I understand if using a CDN or a 3rd part toool you would need to have a full URL.
I feel like this would cause issues if i ever need to change my domain name or do testing on a dev server..
Thanks all!