mirror of
https://github.com/chillzhuang/Sword
synced 2024-11-05 18:19:23 +08:00
11 lines
246 B
JavaScript
11 lines
246 B
JavaScript
|
// [START functionsimport]
|
||
|
const functions = require('firebase-functions');
|
||
|
const express = require('express');
|
||
|
|
||
|
const matchMock = require('./matchMock');
|
||
|
|
||
|
const app = express();
|
||
|
|
||
|
app.use(matchMock);
|
||
|
exports.api = functions.https.onRequest(app);
|