Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions lib/core/config/blossom_config.dart
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
/// Configuration for Blossom server settings and upload parameters
class BlossomConfig {
/// Default Blossom servers used for media uploads
///
///
/// These servers are tried in order when uploading files.
/// If one fails, the next server in the list is attempted.
///
/// Chat attachments are encrypted before upload, so they are sent as
/// `application/octet-stream`. Only add servers that accept opaque blobs:
/// media-only servers reject them by sniffing the content, which fails
/// every attachment regardless of the original file type.
///
/// Servers must also retain blobs indefinitely. Ephemeral hosts expire
/// files after weeks, which would silently break dispute evidence.
static const List<String> defaultServers = [
'https://blossom.primal.net',
'https://blossom.band',
'https://nostr.media',
'https://blossom.sector01.com',
'https://24242.io',
'https://otherstuff.shaving.kiwi',
'https://blossom.f7z.io',
'https://nosto.re',
'https://blossom.poster.place',
'https://cdn.hzrd149.com',
'https://nostr.download',
'https://blossom-01.uid.ovh',
'https://files.sovbit.host',
'https://blssm.us',
Comment thread
AndreaDiazCorreia marked this conversation as resolved.
];

/// Default upload timeout duration
Expand Down
Loading