We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29287ac commit 93c3395Copy full SHA for 93c3395
ee/packages/federation-matrix/src/setup.ts
@@ -80,7 +80,7 @@ export async function setupFederationMatrix(instanceId: string): Promise<void> {
80
'audio/mpeg',
81
'audio/ogg',
82
],
83
- enableThumbnails: process.env.MEDIA_ENABLE_THUMBNAILS === 'true' || true,
+ enableThumbnails: process.env.MEDIA_ENABLE_THUMBNAILS !== 'true',
84
rateLimits: {
85
uploadPerMinute: Number.parseInt(process.env.MEDIA_UPLOAD_RATE_LIMIT || '10', 10),
86
downloadPerMinute: Number.parseInt(process.env.MEDIA_DOWNLOAD_RATE_LIMIT || '60', 10),
0 commit comments