mirror of
https://github.com/kou029w/http-echo.git
synced 2025-01-18 16:08:13 +00:00
7 lines
252 B
JavaScript
7 lines
252 B
JavaScript
const awsServerlessExpress = require("aws-serverless-express");
|
|
const app = require("./index.js");
|
|
const server = awsServerlessExpress.createServer(app);
|
|
|
|
exports.handler = (event, context) => {
|
|
awsServerlessExpress.proxy(server, event, context);
|
|
};
|