Horje
enviroment variables in firebase Code Example
enviroment variables in firebase
$ cd project_directory
$ cd functions
$ firebase functions:config:set api_key1="YOUR_API_KEY1" api_key2="YOUR_API_KEY2"

// Accessing the Keys in Code

const functions = require('firebase-functions');

const api_key1  = functions.config().api_key1;
const api_key2  = functions.config().api_key2;
Source: dev.to




Shell

Related
bash show contents of file Code Example bash show contents of file Code Example
ImportError: cannot import name 'task' from 'celery' Code Example ImportError: cannot import name 'task' from 'celery' Code Example
Exit from sudo su Code Example Exit from sudo su Code Example
Print unique lines Code Example Print unique lines Code Example
cordova sqlite storage plugin android 11 Code Example cordova sqlite storage plugin android 11 Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14