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
|
|
@ -22,8 +22,7 @@ const res = await fetch("https://libretranslate.com/translate", {
|
|||
source: "en",
|
||||
target: "es"
|
||||
}),
|
||||
headers: {
|
||||
"Content-Type": "application/json"}
|
||||
headers: { "Content-Type": "application/json" }
|
||||
});
|
||||
|
||||
console.log(await res.json());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue