From 124885b41d2408dfedf7fc92061fc87af0b7a904 Mon Sep 17 00:00:00 2001 From: GotPPay Date: Sun, 3 Dec 2017 18:47:24 +0100 Subject: [PATCH] clean backend --- backend/express.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/backend/express.js b/backend/express.js index b09669e..6e2bc7e 100644 --- a/backend/express.js +++ b/backend/express.js @@ -118,21 +118,6 @@ alexaApp.express({ // now POST calls to /test in express will be handled by the app.request() function // from here on you can setup any other express routes or middlewares as normal -app.set("view engine", "ejs"); - -alexaApp.launch(function(request, response) { - response.say("You launched Saburly app!"); -}); - -alexaApp.intent("GetProcessIntent", { - "utterances": [ - "tell me about projects", "say something about your project", "what are your projects" - ] - }, - function(request, response) { - response.say("We collaborate closely with our clients at each step of the developmentprocess. From designing the UX to developing the front-end andarchitecting the back-end."); - } -); app.use (function (req, res, next) { res.header ('Access-Control-Allow-Origin', '*');