Files

18 lines
557 B
JavaScript
Raw Permalink Normal View History

2022-04-12 08:57:07 -04:00
"use strict";
/*Powered By: Manaknightdigital Inc. https://manaknightdigital.com/ Year: 2020*/
/**
* Lambda
* @copyright 2020 Manaknightdigital Inc.
* @link https://manaknightdigital.com
* @license Proprietary Software licensing
* @author Ryan Wong
*
*/
const awsServerlessExpress = require("aws-serverless-express");
const app = require("./app");
const server = awsServerlessExpress.createServer(app);
exports.handler = (event, context) => {
context.callbackWaitsForEmptyEventLoop = false;
awsServerlessExpress.proxy(server, event, context);
};