Skip to content

Commit c0da918

Browse files
author
Matthew Dobson
authored
Merge pull request #106 from apigee-internal/issue-68
Updating to change how configs are applied when a reload occurs
2 parents 25d9add + 35a3754 commit c0da918

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cli/lib/gateway.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ Gateway.prototype.start = (options) => {
4848
return console.log('Error downloading configuration. Gateway not started. Reason: ', err.message);
4949
} else {
5050

51-
//inject the apidEndpoint to analytics plugin config
52-
if(options.apidEndpoint && config['analytics-apid']) {
53-
config['analytics-apid'].apidEndpoint = options.apidEndpoint;
54-
}
55-
56-
//inject the apidEndpoint to verify api key
57-
if(options.apidEndpoint && config['verify-api-key']) {
58-
config['verify-api-key'].apidEndpoint = options.apidEndpoint;
59-
}
60-
6151
process.env.CONFIG = JSON.stringify(config);
6252

6353
}

0 commit comments

Comments
 (0)