@fonos/voice
Advanced tools
Comparing version 0.1.26 to 0.1.27
@@ -38,3 +38,3 @@ "use strict"; | ||
listen(handler, port = this.config.port) { | ||
app.get(path_1.join(this.config.base, "/tts/:file"), (req, res) => { | ||
app.get(path_1.posix.join(this.config.base, "/tts/:file"), (req, res) => { | ||
// TODO: Update to use a stream instead of fs.readFile | ||
@@ -56,3 +56,3 @@ fs_1.default.readFile(path_1.join(this.config.pathToFiles, req.params.file), function (err, data) { | ||
}); | ||
app.post(path_1.join(this.config.base), async (req, res) => { | ||
app.post(path_1.posix.join(this.config.base), async (req, res) => { | ||
const response = new voice_1.default(req.body); | ||
@@ -59,0 +59,0 @@ response.plugins = this.plugins; |
{ | ||
"name": "@fonos/voice", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"description": "Voice verbs", | ||
@@ -42,3 +42,3 @@ "author": "Pedro Sanders <psanders@fonoster.com>", | ||
}, | ||
"gitHead": "1a1d567f57e5ebda0cea9a4871b9b8cef378c433", | ||
"gitHead": "88063dbb31f56a64f127b9efaf01044238d3e59b", | ||
"devDependencies": { | ||
@@ -45,0 +45,0 @@ "@types/pubsub-js": "^1.8.2" |
76063