Skip to content

Commit 13ea0a0

Browse files
authored
Merge pull request #79 from import-ai/fix/short_uid
Remove '_' from charset
2 parents a2698ed + 54f3505 commit 13ea0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/generate_id.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { customAlphabet } from 'nanoid';
22

33
export default function generateId(size = 16) {
44
const urlAlphabet =
5-
'useandom26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
5+
'useandom26T198340PX75pxJACKVERYMINDBUSHWOLFGQZbfghjklqvwyzrict';
66
const nanoid = customAlphabet(urlAlphabet, size);
77
return nanoid();
88
}

0 commit comments

Comments
 (0)