feat(NyaHome设置): 增加 NyaHome 设置项
允许上传的文件拓展名、四处默认图片
This commit is contained in:
@@ -4,7 +4,13 @@ class Config:
|
||||
self.site_url = "http://localhost:5173"
|
||||
self.backend_url = "http://localhost:9000"
|
||||
|
||||
self.default_user_avatar_url = "/nyahome/normal-avatar.png"
|
||||
self.default_user_background_url = "/nyahome/normal-background.png"
|
||||
self.default_chatroom_script_cover_url = "/nyahome/normal-thumbnail.png"
|
||||
self.default_page_cover_url = "/nyahome/normal-header.png"
|
||||
|
||||
self.jwt_secret_key = "see you tomorrow"
|
||||
self.allow_upload_file_extensions = [".jpg", ".jpeg", ".png"]
|
||||
|
||||
self.smtp_enable = False
|
||||
self.smtp_sender = ""
|
||||
|
||||
Reference in New Issue
Block a user