fix(media-proxy): allow the desktop app origin and preflight (#3325)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-08 23:21:10 +02:00
1 parent 0febad324c
commit d0b4816a5f
7 files changed
+218 -6

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
pub const MAX_MEDIA_PROXY_BYTES: usize = 500 * 1024 * 1024;
pub const DESKTOP_APP_ORIGIN: &str = "fluxer-app://app";
pub const OUTBOUND_USER_AGENT: &str =
"Mozilla/5.0 (compatible; Fluxerbot/1.0; +https://fluxer.app)";