Skip to content

Commit 6c03a6b

Browse files
committed
🐛 修复漏洞
1 parent 61acf28 commit 6c03a6b

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ bmclapi
88
cache
99
public
1010
.ssl
11-
.lh

config/config.yml.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ storages:
3636
bmclapi:
3737
path: ./bmclapi
3838
type: file
39+
width: 0
3940
web:
4041
force_ssl: false
4142
port: 8080

core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"advanced.debug": False,
3535
"advanced.language": "zh_cn",
3636
"dashboard.username": "admin",
37-
"dashboard.password": "",
37+
"dashboard.password": "123456",
3838
"storages": {"bmclapi": {"type": "file", "path": "./bmclapi", "width": 0}},
3939
}
4040

i18n/zh_cn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"cluster.info.check_update.checking": "检查更新中……",
5252
"cluster.success.check_update.new_version": "发现新版本:$latest!",
5353
"cluster.info.check_update.already_up_to_date": "当前已是最新版本。",
54-
"cluster.error.check_update.failed": "在尝试获取最新版本是遇到了错误:$e。",
54+
"cluster.error.check_update.failed": "在尝试获取最新版本时遇到了错误:$e。",
5555
"cluster.success.webdav.keepalive": "WebDAV <hostname: $hostname, endpoint: $endpoint> 保活成功。",
5656
"cluster.warn.webdav.no_connection": "无法连接至 WebDAV <hostname: $hostname, endpoint: $endpoint>,正在关闭储存……",
5757
"cluster.success.webdav.enabled": "WebDAV <hostname: $hostname, endpoint: $endpoint> 成功启用。",

0 commit comments

Comments
 (0)