mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Enable translations dynamically depending on whether a TRANSLATION_PROVIDER is set
This commit is contained in:
parent
878535c428
commit
d4767f56c6
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ const instanceV2Controller: AppController = async (c) => {
|
|||
max_expiration: 2629746,
|
||||
},
|
||||
translation: {
|
||||
enabled: true,
|
||||
enabled: Boolean(Conf.translationProvider),
|
||||
},
|
||||
},
|
||||
nostr: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue