Created
June 18, 2018 12:08
-
-
Save flatfisher/8d94643d1b7db900e41c2e91e7c384a1 to your computer and use it in GitHub Desktop.
Firebase functions 環境変数を取得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from 'firebase-functions'; | |
export const helloWorld = functions.https.onRequest((request, response) => { | |
const key = `${functions.config().api.key}` | |
const urls = `${functions.config().api.urls}` | |
response.send("Hello from Firebase!"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment