backend code refactoring
This commit is contained in:
@@ -17,19 +17,18 @@ var alexaApp = new alexa.app ('saburly'); // this means we still work with one s
|
||||
|
||||
module.exports = {
|
||||
init: function (express) {
|
||||
|
||||
alexaApp.express ({
|
||||
expressApp: express,
|
||||
|
||||
|
||||
// verifies requests come from amazon alexa. Must be enabled for production.
|
||||
// You can disable this if you're running a dev environment and want to POST
|
||||
// things to test behavior. enabled by default.
|
||||
checkCert: false,
|
||||
|
||||
|
||||
// sets up a GET route when set to true. This is handy for testing in
|
||||
// development, but not recommended for production. disabled by default
|
||||
debug: true,
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
updateIntentsJSON: function () {
|
||||
|
||||
Reference in New Issue
Block a user