The login page offered only a magic link, and the devstack's Supabase cannot send email: POST /auth/v1/otp for an existing user answers 500 "Error sending magic link email". So nobody could sign in through the page at all; the e2e browser run only got in by calling the Supabase client directly. NUXT_PUBLIC_PASSWORD_LOGIN=true now shows a password form beside the magic-link one. It is off by default and the form says it is testing only, so a build for real users never shows it unless someone sets the flag on purpose. Verified against the static build (nuxt generate, 5 routes, 524 KB): in real Chrome the SPA loads, the form signs in, the app leaves /login and the header shows the signed-in user, with no uncaught page errors. Also: the Nitro build leaves apps/web/dist as a symlink to the output, and the `dist/` ignore rule matches only directories, so it showed up as untracked. The rule is now `dist`.
19 lines
175 B
Plaintext
19 lines
175 B
Plaintext
node_modules/
|
|
.nuxt/
|
|
.output/
|
|
dist
|
|
.env
|
|
.env.local
|
|
*.log
|
|
.DS_Store
|
|
|
|
# Tauri
|
|
apps/desktop/src-tauri/target/
|
|
apps/desktop/src-tauri/gen/
|
|
|
|
# Rust
|
|
**/*.rs.bk
|
|
|
|
# pnpm
|
|
.pnpm-store/
|