Skip to content

Commit

Permalink
Fix thinko
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Mar 1, 2023
1 parent dba8646 commit 35d62e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 35d62e3

Please sign in to comment.