fix: load local .env config for nasa api key

This commit is contained in:
End 2026-04-14 20:46:58 -07:00
parent 398d0370e6
commit b3e5bc6619
No known key found for this signature in database

View file

@ -1,5 +1,8 @@
spring.application.name=space-tracker
server.port=${PORT:8080}
# Load local .env file if present (for local development only).
spring.config.import=optional:file:.env[.properties]
# Pull from environment variables; safe defaults for local dev.
nasa.api.key=${NASA_API_KEY:DEMO_KEY}