Set API Key into an environment variable

This commit is contained in:
Redjan Ymeraj
2021-05-06 10:40:33 +02:00
committed by Redjan Ymeraj
parent f4e4d72083
commit 6c2fedbe76
2 changed files with 4 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
redjan_ym_fcm:
firebase_api_key: "12345"
firebase_api_key: '%env(resolve:FCM_SERVER_KEY)%'

View File

@@ -4,5 +4,8 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"FCM_SERVER_KEY": "YOUR_FIREBASE_CLOUD_MESSAGING_SERVER_KEY"
}
}