1 parent
6058602bf2
commit
68753fa439
9 files changed
+35
-9
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { nanoid } from "nanoid";
|
||||
|
||||
export function createClientId() {
|
||||
// randomUUID 在 HTTP 内网地址下不可用;nanoid 依赖仍可用的 getRandomValues。
|
||||
return nanoid();
|
||||
}
|
||||
Reference in new issue
Block a user