diff --git a/README.md b/README.md index a5a4704..868faf7 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ const res = await fetch("https://libretranslate.com/translate", { target: "es" }), headers: { - "Content-Type": "application/json" + "Content-Type": "application/json"} }); console.log(await res.json()); diff --git a/app/templates/index.html b/app/templates/index.html index 6d430ce..d3a9bd9 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -345,7 +345,7 @@ document.addEventListener('DOMContentLoaded', function(){ ' target: "' + this.$options.filters.escape(this.targetLang) + '"', ' }),', ' headers: {', -' "Content-Type": "application/json"', +' "Content-Type": "application/json"}', ' });', '', 'console.log(await res.json());'].join("\n");