Skip to content

Commit

Permalink
Adding ::1 for localhost whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
micahriggan committed Jan 9, 2019
1 parent c0dacb7 commit aec1ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/bitcore-node/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Config = function(): ConfigType {
services: {
api: {
rateLimiter: {
whitelist: ['::ffff:127.0.0.1']
whitelist: ['::ffff:127.0.0.1', '::1']
},
wallets: {
allowCreationBeforeCompleteSync: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/bitcore-node/src/types/Config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface ConfigType {
api: {
disabled?: boolean;
rateLimiter?: {
whitelist: [string];
whitelist: string[];
};
wallets?: {
allowCreationBeforeCompleteSync?: boolean;
Expand Down

0 comments on commit aec1ec9

Please sign in to comment.