Last active
April 19, 2018 19:22
-
-
Save SergioLarios/84381b4a72724af55aaa71097720df9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AlexaAppServer = require('alexa-app-server'); | |
var instance = AlexaAppServer.start({ | |
server_root: __dirname, | |
public_html: "public_html", | |
app_dir: "apps", // - Carpeta con los modulos alexa-app | |
app_root: "/alexa/", // - Prefijo del path para generar los endpoints, por ejemplo '/alexa/[app-name]' | |
port: 9090, // - Puerto a usar para http | |
debug: true, | |
httpsPort: 443, // - Importante que este activado el https para | |
httpsEnabled: true, // que se pueda conectar alexa | |
privateKey: 'private-key.pem', // - Certificados generados como se explica en: | |
certificate: 'certificate.pem' // https://developer.amazon.com/docs/custom-skills/configure-web-service-self-signed-certificate.html | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment