• Aryan Noshirvnai's avatar
    Stop gitignoring env config that holds no secrets - commit .env/.env.development/.env.production · 434f1a2e
    Aryan Noshirvnai authored
    .env, .env.development(.local), and .env.production(.local) have held zero
    actual secrets since the dev auto-login token pair was removed earlier
    today - just a backend URL and a proxy target, neither sensitive (the
    backend URL is already visible in the compiled JS bundle regardless).
    Gitignoring them anyway meant a fresh checkout had no working config at
    all, and specifically meant .env.development.local/.env.production.local
    (the overrides that route API calls through vite's same-origin proxy
    instead of an absolute http:// URL, avoiding mixed-content blocking) could
    silently go missing with zero server-side signal - exactly the failure
    mode that caused two separate "nothing works" incidents today.
    
    Renamed the two .local overrides to .env.development/.env.production
    (Vite's convention for committed, mode-specific config, as opposed to
    .local's convention for gitignored personal overrides) and committed all
    three files for real. *.local stays gitignored for genuine personal
    overrides (e.g. .env.local) going forward. .env.example now documents that
    the real values are already committed, not something to copy by hand.
    Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
    434f1a2e
Name
Last commit
Last update
public Loading commit data...
src Loading commit data...
.env Loading commit data...
.env.development Loading commit data...
.env.example Loading commit data...
.env.production Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.oxlintrc.json Loading commit data...
README.md Loading commit data...
index.html Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
tsconfig.app.json Loading commit data...
tsconfig.json Loading commit data...
tsconfig.node.json Loading commit data...
vite.config.ts Loading commit data...