Skip to content

Commit

Permalink
Using templating makes aws-cloudwatch-log usable in browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Cornelissen committed Feb 6, 2019
1 parent 6b7e8a2 commit 8865a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const getRequestParams = (method, region, payload, keys={}) => {
aws4.sign(opts)

return {
uri: 'https://' + path.posix.join(opts.hostname, opts.path),
uri: `https://${opts.hostname}${opts.path}`,
headers: opts.headers
}
}
Expand Down

0 comments on commit 8865a8a

Please sign in to comment.