fix(content): complete provider hardening
This commit is contained in:
1 parent
695ba5a758
commit
062a9234ee
7 files changed
+65
-36
No files matched your search
@@ -15,6 +15,8 @@ use serde::de::DeserializeOwned;
|
||||
use std::path::Path;
|
||||
use thiserror::Error;
|
||||
|
||||
pub const MAX_PROVIDER_ASSET_BYTES: usize = 16 * 1024 * 1024;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum NetError {
|
||||
#[error("HTTP request failed: {0}")]
|
||||
|
||||
Reference in new issue
Block a user