chore: set client max boby size (#241)
* chore: set client max boby size * chore: fix clippy
This commit is contained in:
parent
d08382fe35
commit
b48bf402c7
|
|
@ -55,6 +55,7 @@ http {
|
||||||
location /api {
|
location /api {
|
||||||
proxy_set_header X-Request-Id $request_id;
|
proxy_set_header X-Request-Id $request_id;
|
||||||
proxy_pass http://appflowy_cloud:8000;
|
proxy_pass http://appflowy_cloud:8000;
|
||||||
|
client_max_body_size 6M;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Minio Web UI
|
# Minio Web UI
|
||||||
|
|
|
||||||
|
|
@ -316,6 +316,7 @@ impl TestClient {
|
||||||
self.api_client.get_profile().await.unwrap().uid
|
self.api_client.get_profile().await.unwrap().uid
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub(crate) async fn get_snapshot(
|
pub(crate) async fn get_snapshot(
|
||||||
&self,
|
&self,
|
||||||
workspace_id: &str,
|
workspace_id: &str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue