perf: 支持又拍云cdn

This commit is contained in:
xiaojunnuo
2025-03-26 20:48:26 +08:00
parent 57389a79a1
commit fd0536bd4b
10 changed files with 265 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { customAlphabet } from 'nanoid';
import { customAlphabet } from "nanoid";
export const randomNumber = customAlphabet('1234567890', 4);
export const simpleNanoId = customAlphabet('1234567890abcdefghijklmopqrstuvwxyz', 12);
export const randomNumber = customAlphabet("1234567890", 4);
export const simpleNanoId = customAlphabet("1234567890abcdefghijklmopqrstuvwxyz", 12);