From ad2b7e13e1955a70c9cd393ee03dee7854c54096 Mon Sep 17 00:00:00 2001 From: Nitromelon Date: Sat, 15 Jun 2024 10:27:51 +0800 Subject: [PATCH] Fix typo in yaml config. (#2069) --- config.example.yaml | 4 ++-- drogon_ctl/templates/config_yaml.csp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.example.yaml b/config.example.yaml index 6ecb0ac5..2a73b706 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -278,11 +278,11 @@ app: client_max_websocket_message_size: 128K # reuse_port: Defaults to false, users can run multiple processes listening on the same port at the same time. reuse_port: false - # enabled_compresed_request: Defaults to false. If true the server will automatically decompress compressed request bodies. + # enabled_compressed_request: Defaults to false. If true the server will automatically decompress compressed request bodies. # Currently only gzip and br are supported. Note: max_memory_body_size and max_body_size applies twice for compressed requests. # Once when receiving and once when decompressing. i.e. if the decompressed body is larger than max_body_size, the request # will be rejected. - enabled_compresed_request: false + enabled_compressed_request: false # plugins: Define all plugins running in the application plugins: # name: The class name of the plugin diff --git a/drogon_ctl/templates/config_yaml.csp b/drogon_ctl/templates/config_yaml.csp index e7358bbe..5db5e95e 100644 --- a/drogon_ctl/templates/config_yaml.csp +++ b/drogon_ctl/templates/config_yaml.csp @@ -278,11 +278,11 @@ app: client_max_websocket_message_size: 128K # reuse_port: Defaults to false, users can run multiple processes listening on the same port at the same time. reuse_port: false - # enabled_compresed_request: Defaults to false. If true the server will automatically decompress compressed request bodies. + # enabled_compressed_request: Defaults to false. If true the server will automatically decompress compressed request bodies. # Currently only gzip and br are supported. Note: max_memory_body_size and max_body_size applies twice for compressed requests. # Once when receiving and once when decompressing. i.e. if the decompressed body is larger than max_body_size, the request # will be rejected. - enabled_compresed_request: false + enabled_compressed_request: false # plugins: Define all plugins running in the application plugins: # name: The class name of the plugin