Skip to content

Instantly share code, notes, and snippets.

@hatakancicek
Created August 19, 2019 11:28
Show Gist options
  • Save hatakancicek/652185da4e5562b13e44a5d154698ec3 to your computer and use it in GitHub Desktop.
Save hatakancicek/652185da4e5562b13e44a5d154698ec3 to your computer and use it in GitHub Desktop.
const onRequest = require("firebase-functions").https.onRequest;
const index = require("./pages/index");
exports.index = onRequest((req, res) => index.render(req, res));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment