Skip to content

Commit

Permalink
Rename config option speech_on
Browse files Browse the repository at this point in the history
* Formally called speechOn

Change-Id: Iba934d3b7d6a13686abe674088b36aa16382aec8
  • Loading branch information
physikerwelt committed Feb 16, 2016
1 parent 32eb0f9 commit 73b07b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ services:
png: true #new feature
speech: true #new feature
texvcinfo: true
speechOn: true
speech_on: true
2 changes: 1 addition & 1 deletion config.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ services:
img: true
texvcinfo: true
speech: true
sppechOn: false
speech_on: false
2 changes: 1 addition & 1 deletion routes/mathoid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
Expand Down

0 comments on commit 73b07b5

Please sign in to comment.