fix(webui): 替换uuid依赖,解决http环境下无法生成密钥的问题。

原生的`crypto.randomUUID()`只支持https和localhost的安全上下文环境。
This commit is contained in:
topkill
2026-04-25 19:19:17 +08:00
parent e4a4b0ac0b
commit c4cdce46c2
3 changed files with 19 additions and 3 deletions

View File

@@ -14,7 +14,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^7.13.0",
"tailwind-merge": "^3.4.0"
"tailwind-merge": "^3.4.0",
"uuid": "^14.0.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^6.0.1",