first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"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);
|
||||
};
|
||||
Reference in New Issue
Block a user