diff options
| author | dakkar <dakkar@thenautilus.net> | 2025-06-01 14:44:49 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2025-06-01 14:44:49 +0100 |
| commit | b13781632fea4f4e1814a07299bc59d016016f04 (patch) | |
| tree | 71ccb6c54836f53deb75c5121919d8926319f5e4 /packages/frontend-embed | |
| parent | merge: Factor out TransitionGroup dynamic switching into a dedicated componen... (diff) | |
| download | sharkey-b13781632fea4f4e1814a07299bc59d016016f04.tar.gz sharkey-b13781632fea4f4e1814a07299bc59d016016f04.tar.bz2 sharkey-b13781632fea4f4e1814a07299bc59d016016f04.zip | |
fix DeepLX
`??` binds tighter than `? :`, so that expression was parsed as:
```ts
( deeplFreeInstance ?? this.serverSettings.deeplIsPro )
? 'https://api.deepl.com/v2/translate'
: 'https://api-free.deepl.com/v2/translate'
```
which ended up calling the non-free DeepL instead of the local DeepLX
Diffstat (limited to 'packages/frontend-embed')
0 files changed, 0 insertions, 0 deletions