mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-31 19:14:27 +01:00
Enable translations dynamically depending on whether a TRANSLATION_PROVIDER is set
This commit is contained in:
@@ -129,7 +129,7 @@ const instanceV2Controller: AppController = async (c) => {
|
||||
max_expiration: 2629746,
|
||||
},
|
||||
translation: {
|
||||
enabled: true,
|
||||
enabled: Boolean(Conf.translationProvider),
|
||||
},
|
||||
},
|
||||
nostr: {
|
||||
|
||||
Reference in New Issue
Block a user