Last active
February 26, 2020 21:16
-
-
Save InputNeuron/d1b5dedd2bf6d111ebf39fa098897a6a to your computer and use it in GitHub Desktop.
This file contains hidden or 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"; | |
| import express from 'express'; | |
| const app = express(); | |
| app.use((req: express.Request, res: express.Response, next: express.NextFunction) => { | |
| console.log("Hello World: : handling basic request"); | |
| res.status(200).send('Hello World\n'); | |
| next(); | |
| }); | |
| export const HelloWorldFunction = functions.https.onRequest(app); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment