Skip to content

Commit

Permalink
Update Layers API to layers.newrelic-external.com
Browse files Browse the repository at this point in the history
  • Loading branch information
kolanos committed Apr 28, 2020
1 parent f1e1538 commit 83d902c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-newrelic-lambda-layers",
"version": "0.1.17",
"version": "0.1.18",
"description": "Serverless plugin for NewRelic APM AWS Lambda layers.",
"main": "dist/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export default class NewRelicLambdaLayerPlugin {
private async getLayerArn(runtime: string, region: string) {
return util
.promisify(request)(
`https://${region}.nr-layers.iopipe.com/get-layers?CompatibleRuntime=${runtime}`
`https://${region}.layers.newrelic-external.com/get-layers?CompatibleRuntime=${runtime}`
)
.then(response => {
const awsResp = JSON.parse(response.body);
Expand Down

0 comments on commit 83d902c

Please sign in to comment.