clean backend
This commit is contained in:
@@ -118,21 +118,6 @@ alexaApp.express({
|
|||||||
// now POST calls to /test in express will be handled by the app.request() function
|
// 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
|
// 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) {
|
app.use (function (req, res, next) {
|
||||||
res.header ('Access-Control-Allow-Origin', '*');
|
res.header ('Access-Control-Allow-Origin', '*');
|
||||||
|
|||||||
Reference in New Issue
Block a user