index.js 245 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1 2 3
// [START functionsimport]
const functions = require('firebase-functions');
const express = require('express');
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
4
const matchMock = require('./matchMock');
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
5 6
const app = express();

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
7
app.use(matchMock);
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
8 9

exports.api = functions.https.onRequest(app);