Skip to content

Commit 93c3395

Browse files
committed
fix env var evaluation
1 parent 29287ac commit 93c3395

File tree

1 file changed

+1
-1
lines changed
  • ee/packages/federation-matrix/src

1 file changed

+1
-1
lines changed

ee/packages/federation-matrix/src/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export async function setupFederationMatrix(instanceId: string): Promise<void> {
8080
'audio/mpeg',
8181
'audio/ogg',
8282
],
83-
enableThumbnails: process.env.MEDIA_ENABLE_THUMBNAILS === 'true' || true,
83+
enableThumbnails: process.env.MEDIA_ENABLE_THUMBNAILS !== 'true',
8484
rateLimits: {
8585
uploadPerMinute: Number.parseInt(process.env.MEDIA_UPLOAD_RATE_LIMIT || '10', 10),
8686
downloadPerMinute: Number.parseInt(process.env.MEDIA_DOWNLOAD_RATE_LIMIT || '60', 10),

0 commit comments

Comments
 (0)