mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(media-proxy): allow the desktop app origin and preflight (#3325)
This commit is contained in:
1 parent
0febad324c
commit
d0b4816a5f
7 files changed
+218
-6
No files matched your search
@@ -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)";
|
||||
|
||||
Reference in new issue
Block a user