api.js 240 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1 2 3 4 5 6 7 8 9 10 11
// [START functions import]
const express = require('express');
const serverLess = require('serverless-http');

const matchMock = require('./mock/matchMock');

const app = express();

app.use(matchMock);

exports.handler = serverLess(app);