mirror of
https://github.com/0x2E/fusion.git
synced 2025-06-08 05:27:15 +09:00

It caught me by surprise during development that fusion was reading environment variables from .env, as that's not really clear anywhere. I think it's a bit of a gotcha, so I added logging to make the behavior clearer, and I renamed the default .env file to .env.example so that the user has to explicitly choose to use a .env file. Keeping the real .env file out of source control also protects developers from accidentally committing their real password to source control and leaking it by mistake.
11 lines
194 B
Text
11 lines
194 B
Text
.DS_*
|
|
*.db
|
|
*.paw
|
|
tmp/
|
|
build/
|
|
dist/
|
|
|
|
# The .env file may contain secrets, so exclude it from source control.
|
|
.env*
|
|
# .env.example is an exception as it only contains dummy secrets.
|
|
!.env.example
|