mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-25 11:22:28 +00:00
Only choose from languages available in argos
This commit is contained in:
parent
41e381ae0c
commit
db01aeb404
3 changed files with 13 additions and 5 deletions
|
@ -345,8 +345,7 @@ document.addEventListener('DOMContentLoaded', function(){
|
|||
' source: "' + this.$options.filters.escape(this.sourceLang) + '",',
|
||||
' target: "' + this.$options.filters.escape(this.targetLang) + '"',
|
||||
' }),',
|
||||
' headers: {',
|
||||
' "Content-Type": "application/json"}',
|
||||
' headers: { "Content-Type": "application/json" }',
|
||||
' });',
|
||||
'',
|
||||
'console.log(await res.json());'].join("\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue