Last active
October 22, 2019 13:23
-
-
Save lexyblazy/08fbc7cf8411bb601aead8f3b0e07602 to your computer and use it in GitHub Desktop.
Express server is live
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"; | |
import * as express from "express"; | |
const app = express(); | |
app.get("/", (req: express.Request, res: express.Response) => { | |
res.send("Now we are live with the express server"); | |
}); | |
export const v1 = functions.https.onRequest(app); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment