Skip to content

Commit

Permalink
rollback FE changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yk-eukarya committed Oct 11, 2024
1 parent cb6afba commit 5801a87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/src/utils/regex.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const MAX_KEY_LENGTH = 32;
const keyRegex = new RegExp(`^[a-zA-Z0-9_-]{1,${MAX_KEY_LENGTH}}$`);
export const validateKey = (key: string): boolean => {
return true;
return keyRegex.test(key);
};

Expand Down

0 comments on commit 5801a87

Please sign in to comment.