feat: 一些实现

This commit is contained in:
cc
2026-01-29 21:13:05 +08:00
parent 3c51dee9a6
commit 26fbfd2c98
5 changed files with 217 additions and 85 deletions

View File

@@ -80,7 +80,7 @@ function WelcomePage({ standalone = false }: WelcomePageProps) {
const credential = await navigator.credentials.create({
publicKey: {
challenge,
rp: { name: 'WeFlow', id: window.location.hostname },
rp: { name: 'WeFlow', id: 'localhost' },
user: {
id: new Uint8Array([1]),
name: 'user',