UNPKG

@samepage/backend

Version:

Backend utilities for the apis of SamePage integrations

10 lines 527 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); const createAPIGatewayProxyHandler_1 = tslib_1.__importDefault(require("./createAPIGatewayProxyHandler")); const createPublicAPIGatewayProxyHandler = (args) => (0, createAPIGatewayProxyHandler_1.default)({ ...(typeof args === "function" ? { logic: args } : args), allowedOrigins: [/.*/], }); exports.default = createPublicAPIGatewayProxyHandler; //# sourceMappingURL=createPublicAPIGatewayProxyHandler.js.map