weijiang1994 / Blogin

A blog system depend on flask.使用flask框架开发的个人博客系统.
https://2dogz.cn
GNU General Public License v3.0
509 stars 99 forks source link

avatar文件路径的问题 #43

Closed charlieqf closed 1 year ago

charlieqf commented 1 year ago

AVATARS_SAVE_PATH = BLOGIN_UPLOAD_PATH + '/avatars/'

用户头像确实是保存在了根目录的 uploads/avatars/ 下面

但是在blog.user表中avatar的路径是 /accounts/avatar/

导致首页加载用户头像不成功。

charlieqf commented 1 year ago

not an issue