From 35d62e36fae9f9b292fb569cbdc7a75efdb8c29c Mon Sep 17 00:00:00 2001 From: Leo Singer Date: Wed, 1 Mar 2023 12:10:17 -0500 Subject: [PATCH] Fix thinko --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 0139f6e..79c5954 100644 --- a/index.ts +++ b/index.ts @@ -20,7 +20,7 @@ export const search = memoizee( const options = { node } - if (new URL(node).hostname === 'localhost') { + if (new URL(node).hostname !== 'localhost') { const region = process.env.AWS_REGION if (!region) throw new Error('environment variable AWS_REGION must be defined')