You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(auth): use dynamic imports for @simplewebauthn/browser to fix SSR (#43)
The @simplewebauthn/browser package is browser-only and cannot be
imported at the module level in SvelteKit components that undergo SSR.
Replace static imports with dynamic import() inside onMount callbacks
to ensure the package is only loaded client-side.
Fixes the /auth/login 500 error on the tinyland deployment.
0 commit comments