Disable legacy media now by default.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-04-28 03:37:57 +00:00
parent 258e2e3ce8
commit c59037cd75
2 changed files with 4 additions and 6 deletions

View File

@@ -1305,9 +1305,8 @@ pub struct Config {
/// ///
/// The authenticated equivalent endpoints are always enabled. /// The authenticated equivalent endpoints are always enabled.
/// ///
/// Defaults to true for now, but this is highly subject to change, likely /// Defaults to false.
/// in the next release. #[serde(default)]
#[serde(default = "true_fn")]
pub allow_legacy_media: bool, pub allow_legacy_media: bool,
#[serde(default = "true_fn")] #[serde(default = "true_fn")]

View File

@@ -1126,10 +1126,9 @@
# #
# The authenticated equivalent endpoints are always enabled. # The authenticated equivalent endpoints are always enabled.
# #
# Defaults to true for now, but this is highly subject to change, likely # Defaults to false.
# in the next release.
# #
#allow_legacy_media = true #allow_legacy_media = false
# This item is undocumented. Please contribute documentation for it. # This item is undocumented. Please contribute documentation for it.
# #