chore: set client max boby size (#241)

* chore: set client max boby size

* chore: fix clippy
This commit is contained in:
Nathan.fooo 2024-01-03 03:22:45 +08:00 committed by GitHub
parent d08382fe35
commit b48bf402c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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,