���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules.2
/
@netlify
/
functions
/
dist
/
Viewing: chunk-FXC5X2OW.mjs
import { BUILDER_FUNCTIONS_FLAG, HTTP_STATUS_METHOD_NOT_ALLOWED, METADATA_VERSION } from "./chunk-WACUD2EK.mjs"; // src/lib/builder.ts var augmentResponse = (response) => { if (!response) { return response; } const metadata = { version: METADATA_VERSION, builder_function: BUILDER_FUNCTIONS_FLAG, ttl: response.ttl || 0 }; return { ...response, metadata }; }; var wrapHandler = (handler) => ( // eslint-disable-next-line promise/prefer-await-to-callbacks (event, context, callback) => { if (event.httpMethod !== "GET" && event.httpMethod !== "HEAD") { return Promise.resolve({ body: "Method Not Allowed", statusCode: HTTP_STATUS_METHOD_NOT_ALLOWED }); } const modifiedEvent = { ...event, multiValueQueryStringParameters: {}, queryStringParameters: {} }; const wrappedCallback = (error, response) => ( // eslint-disable-next-line promise/prefer-await-to-callbacks callback ? callback(error, augmentResponse(response)) : null ); const execution = handler(modifiedEvent, context, wrappedCallback); if (typeof execution === "object" && typeof execution.then === "function") { return execution.then(augmentResponse); } return execution; } ); export { wrapHandler };
Coded With 💗 by
0x6ick Mod By V1rus_Alfa