更新前后端代码
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
# FileStorageSystem 配置文件
|
||||
server:
|
||||
port: 8100
|
||||
mode: debug # debug/release
|
||||
domain: https://file.yunzer.cn # 生产环境域名
|
||||
|
||||
database:
|
||||
driver: sqlite
|
||||
source: ./storage/data.db
|
||||
|
||||
storage:
|
||||
root: ./storage/files # 文件存储根目录
|
||||
backups: ./storage/backups # 数据库备份目录
|
||||
|
||||
admin:
|
||||
username: admin
|
||||
password: admin123 # 首次运行后请修改
|
||||
email: admin@example.com
|
||||
role: super_admin # 默认角色
|
||||
|
||||
jwt:
|
||||
secret: please-change-this-secret-key # 生产环境请修改为随机密钥
|
||||
expire: 24h # Token过期时间
|
||||
|
||||
log:
|
||||
level: info
|
||||
dir: ./storage/logs
|
||||
max_days: 7
|
||||
Reference in New Issue
Block a user