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

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
5
const matchMock = require('./matchMock');
6

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
7 8
const app = express();

ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
9
app.use(matchMock);
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
10
exports.api = functions.https.onRequest(app);