From 47cc7ff3b9e52c4f34135ec1dba5cd928a1da297 Mon Sep 17 00:00:00 2001 From: peinhu Date: Sat, 23 Mar 2019 19:07:25 +0800 Subject: [PATCH] fix bugs --- config/aetherupload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/aetherupload.php b/config/aetherupload.php index 174f946..1074d56 100644 --- a/config/aetherupload.php +++ b/config/aetherupload.php @@ -15,6 +15,7 @@ */ 'distributed_deployment' => [ + 'enable' => false, # 是否启用 'role' => 'web', # 服务器角色,支持选项: 'web', 'storage' @@ -118,7 +119,7 @@ */ 'middleware_preprocess' => [], # 上传预处理时的路由中间件 - 'middleware_save_chunk' => [], # 上传文件分块时的路由中间件 + 'middleware_uploading' => [], # 上传文件分块时的路由中间件 'middleware_display' => [], # 文件展示时的路由中间件 'middleware_download' => [], # 文件下载时的路由中间件