You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see the resource loading code in User.php tell that we load from public path of assets/avatars
It work great if we deploy Flarum in the root folder of the website.
But if we deploy it to the sub-folder, for example: http://abc.com/forum
The avatar will unable to load, because the image path will be http://abc.com/assets/avatars/blah.jpg, the expected path should be http://abc.com/forum/assets/avatar/blah.jpg
The text was updated successfully, but these errors were encountered:
I see the resource loading code in
User.php
tell that we load from public path ofassets/avatars
It work great if we deploy Flarum in the root folder of the website.
But if we deploy it to the sub-folder, for example:
http://abc.com/forum
The avatar will unable to load, because the image path will be
http://abc.com/assets/avatars/blah.jpg
, the expected path should behttp://abc.com/forum/assets/avatar/blah.jpg
The text was updated successfully, but these errors were encountered: