Skip to content

Move all environment-specific values to .env config #9

@martinjms

Description

@martinjms

Summary

Several environment-specific values are hardcoded in source files instead of coming from the .env config:

  • DAPP_URL_BASE in Buildings.tsx is hardcoded to https://brainy-bots.github.io/efguard/
  • Should be a VITE_DAPP_BASE_URL env var

Ideally each environment (stillness, utopia, local) should have its own .env file (.env.stillness, .env.utopia, .env.local) and switching is just a matter of selecting which one to use.

Current workaround

Manually editing .env and source files when switching environments.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions