From 325c5e9751fc32b87d3a233d3083ac89c7c5491f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20L=C3=B3pez=20Brante?= Date: Wed, 13 Jan 2021 00:32:59 -0300 Subject: [PATCH] Oops --- api/espeak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/espeak.js b/api/espeak.js index 08dd874..6003550 100644 --- a/api/espeak.js +++ b/api/espeak.js @@ -12,7 +12,7 @@ app.post('/get', (req, res, next) => { if (err) throw err; fs.writeFile(path, req.body.sourceText, {encoding: "utf-8"}, ()=> { - exec(`${eSpeakExecutable} -v"${req.body.selectedLanguage}" -q -f "${path}" --ipa"`, ((error, stdout, stderr) => { + exec(`${eSpeakExecutable} -v"${req.body.selectedLanguage}" -q -f "${path}" --ipa`, ((error, stdout, stderr) => { res.json({out: stdout.trim(), stderr}) })) })