mirror of
https://github.com/System-End/APCSA-Final.git
synced 2026-04-19 20:55:14 +00:00
fix: load local .env config for nasa api key
This commit is contained in:
parent
398d0370e6
commit
b3e5bc6619
1 changed files with 3 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue