feat: 更新管理员登录为简易版jwt

This commit is contained in:
Lan
2025-02-09 22:57:21 +08:00
parent f2f301f515
commit ede0e62f32
20 changed files with 113 additions and 29 deletions
+3
View File
@@ -66,6 +66,9 @@ DEFAULT_CONFIG = {
'port': 12345,
'showAdminAddr': 0,
'robotsText': 'User-agent: *\nDisallow: /',
'jwt_secret_key': "your-secret-key", # 建议使用环境变量
'jwt_algorithm': "HS256",
'admin_password': 'FileCodeBox2023', # 建议使用环境变量存储
}