install ejs

This commit is contained in:
GotPPay
2018-01-05 23:06:37 +01:00
parent beb575ef7f
commit b7a778691f
3 changed files with 13 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ alexaApp.express({
// from here on you can setup any other express routes or middlewares as normal
app.set("view engine", "ejs");
alexaApp.launch(function(request, response) {
console.log("Alexa launch");
console.log(request);
const skill = db.collection('skill_list').findOne({_id: ObjectID(skillDbID)}, (err,result)=>{
if (err){
response.say("I could not find desired skill")