remove dbg

This commit is contained in:
marin postma 2021-06-23 15:02:00 +02:00
parent a838238a63
commit 880fc069bd
No known key found for this signature in database
GPG Key ID: 6088B7721C3E39F9

View File

@ -24,7 +24,7 @@ pub fn configure_data(config: &mut web::ServiceConfig, data: Data) {
.data(data) .data(data)
.app_data( .app_data(
web::JsonConfig::default() web::JsonConfig::default()
.limit(dbg!(http_payload_size_limit)) .limit(http_payload_size_limit)
.content_type(|_mime| true) // Accept all mime types .content_type(|_mime| true) // Accept all mime types
.error_handler(|err, _req| error::payload_error_handler(err).into()), .error_handler(|err, _req| error::payload_error_handler(err).into()),
) )