fix: Disable unauthenticated media by default

This commit is contained in:
stratself authored and Ellis Git committed 2026-09-11 14:21:08 +00:00
1 parent 6c6e8e72af
commit 5fbd4914ca
2 files changed
+5 -7

No files matched your search

+2 -3
View File
@@ -1495,10 +1495,9 @@
#
# The authenticated equivalent endpoints are always enabled.
#
# Defaults to true for now, but this is highly subject to change, likely
# in the next release.
# Defaults to false, as unauthenticated media has been sunsetted.
#
#allow_legacy_media = true
#allow_legacy_media = false
# If set to true, prevents fetching new legacy remote media.
#
+3 -4
View File
@@ -1758,11 +1758,10 @@ pub struct Config {
///
/// The authenticated equivalent endpoints are always enabled.
///
/// Defaults to true for now, but this is highly subject to change, likely
/// in the next release.
/// Defaults to false, as unauthenticated media has been sunsetted.
///
/// default: true
#[serde(default = "true_fn")]
/// default: false
#[serde(default)]
pub allow_legacy_media: bool,
/// If set to true, prevents fetching new legacy remote media.