haiwen / seahub

The web end of seafile server.
seafile.com
Other
526 stars 369 forks source link

avatar url is wrong in account component #5343

Closed changsijay closed 1 year ago

changsijay commented 1 year ago

I am using docker to run seafileltd/seafile-mc:9.0.2 with nginx as reverse proxy and have settings

./ccnet.conf:SERVICE_URL = https://mydomain.com/

in frontend/src/components/common/account.js {appAvatarURL} is wrong, it shows http://127.0.0.1:8000/media/avatars/a/3/e6a37972476917f03f3d7870a3bc55/resized/72/f4e63d66e34aa1db945616a51b156cfe.png

image

while in settings, frontend/src/components/user-settings/user-avatar-form.js it is correct, in my case is /media/avatars/a/3/e6a37972476917f03f3d7870a3bc55/resized/160/f4e63d66e34aa1db945616a51b156cfe.png that I uploaded.

image

changsijay commented 1 year ago

maybe because complicated nginx config issue