Skip to content

Commit

Permalink
Removing hardcoded AWS region
Browse files Browse the repository at this point in the history
  • Loading branch information
armonge committed Jun 21, 2017
1 parent 5bc2e93 commit 5836c2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PollyRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module.exports = class Polly extends DefaultRenderer {
constructor(config) {
super(config);

this.s3 = new AWS.S3({ region: 'us-east-1' });
this.polly = new AWS.Polly({ region: 'us-east-1' });
this.s3 = new AWS.S3();
this.polly = new AWS.Polly();
}

renderMessage(msg, alexaEvent) {
Expand Down

0 comments on commit 5836c2c

Please sign in to comment.