Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Safonkin committed Apr 15, 2021
1 parent 596753d commit 3b53937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authutil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function configAuthentication(
}

function isValidKey(key: string): boolean {
return /^[0-9\w\-\_\.]+$/i.test(key);
return /^[\w\-\.]+$/i.test(key);
}

function writeFeedToFile(
Expand Down

0 comments on commit 3b53937

Please sign in to comment.