Enable translations dynamically depending on whether a TRANSLATION_PROVIDER is set

This commit is contained in:
Alex Gleason
2024-10-09 20:17:04 -05:00
parent 878535c428
commit d4767f56c6

View File

@@ -129,7 +129,7 @@ const instanceV2Controller: AppController = async (c) => {
max_expiration: 2629746,
},
translation: {
enabled: true,
enabled: Boolean(Conf.translationProvider),
},
},
nostr: {