diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 5efdb2e6..8a7fe24b 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -55,6 +55,7 @@ http { location /api { proxy_set_header X-Request-Id $request_id; proxy_pass http://appflowy_cloud:8000; + client_max_body_size 6M; } # Minio Web UI diff --git a/tests/util/test_client.rs b/tests/util/test_client.rs index 4f16a23a..df1bb6fe 100644 --- a/tests/util/test_client.rs +++ b/tests/util/test_client.rs @@ -316,6 +316,7 @@ impl TestClient { self.api_client.get_profile().await.unwrap().uid } + #[allow(dead_code)] pub(crate) async fn get_snapshot( &self, workspace_id: &str,