diff --git a/config.dev.yaml b/config.dev.yaml index 2344f6e31..b9709caae 100644 --- a/config.dev.yaml +++ b/config.dev.yaml @@ -65,4 +65,4 @@ services: png: true #new feature speech: true #new feature texvcinfo: true - speechOn: true + speech_on: true diff --git a/config.prod.yaml b/config.prod.yaml index 8144b321b..7d7d35c83 100644 --- a/config.prod.yaml +++ b/config.prod.yaml @@ -37,4 +37,4 @@ services: img: true texvcinfo: true speech: true - sppechOn: false + speech_on: false diff --git a/routes/mathoid.js b/routes/mathoid.js index 9ce6359f3..6ded984c3 100644 --- a/routes/mathoid.js +++ b/routes/mathoid.js @@ -136,7 +136,7 @@ function handleRequest(res, q, type, outFormat, features) { */ router.post('/:outformat?/', function (req, res) { var outFormat; - var speech = app.conf.speechOn; + var speech = app.conf.speech_on; // First some rudimentary input validation if (!(req.body.q)) { emitError("q (query) post parameter is missing!");