fix(files): 服务器运行时下载文件的拒绝说明改为先停服再操作文件

This commit is contained in:
Lemon-miaow committed 2026-09-29 01:45:43 +08:00
1 parent 2b9cd1869c
commit 94864473ce
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -582,7 +582,7 @@ func (a *API) handleDownloadFile(w http.ResponseWriter, r *http.Request) {
writeError(w, r, err)
return
}
release, ok := a.acquireWorld(w, r, name, maintenance.KindExport, "stop the server before editing its files")
release, ok := a.acquireWorld(w, r, name, maintenance.KindExport, "stop the server before downloading its files")
if !ok {
reg.drop(e)
return