mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Disable legacy media request fallbacks by default.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
4c35bfbda4
commit
6b7bf80de5
3 files changed
+18
-2
No files matched your search
@@ -1318,6 +1318,12 @@ pub struct Config {
|
||||
#[serde(default)]
|
||||
pub allow_legacy_media: bool,
|
||||
|
||||
/// Fallback to requesting legacy unauthenticated media from remote servers.
|
||||
/// Unauthenticated media was removed in ~2024Q3; enabling this adds
|
||||
/// considerable federation requests which are unlikely to succeed.
|
||||
#[serde(default)]
|
||||
pub request_legacy_media: bool,
|
||||
|
||||
#[serde(default = "true_fn")]
|
||||
pub freeze_legacy_media: bool,
|
||||
|
||||
|
||||
Reference in new issue
Block a user