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);