Skip to content

Instantly share code, notes, and snippets.

@ahaverty
Created December 20, 2018 14:02
Show Gist options
  • Save ahaverty/86b6edae5d4afaa824ba2030bd8d3ba2 to your computer and use it in GitHub Desktop.
Save ahaverty/86b6edae5d4afaa824ba2030bd8d3ba2 to your computer and use it in GitHub Desktop.
Simple Firebase Function Https
const firebaseFunctions = require("firebase-functions");
let testHttpsFunction = firebaseFunctions.https.onRequest((req, res) => {
console.log("This ran successfully");
res.send(200);
});
exports.testHttpsFunction = testHttpsFunction;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment