feat(NyaHome设置): 增加 NyaHome 设置项

允许上传的文件拓展名、四处默认图片
This commit is contained in:
2026-05-27 14:18:59 +08:00
parent 4deee00bcb
commit 1c7d932e31
2 changed files with 49 additions and 1 deletions
+6
View File
@@ -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 = ""