HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode.com/build/server/chunks/_server.ts-db15389f.js.map
{"version":3,"file":"_server.ts-db15389f.js","sources":["../../../.svelte-kit/adapter-node/entries/endpoints/api/getPosts/_server.ts.js"],"sourcesContent":["import{b as u}from\"../../../../chunks/shared-server.js\";import{j as s}from\"../../../../chunks/index.js\";const g=async a=>{const{request:o}=a,{page:e,perPage:n,authorId:r}=await o.json(),t=await fetch(`${u.PRIVATE_WP_URL}/wp-json/wp/v2/posts/?per_page=${n}&page=${e}&author=${r}`,{method:\"GET\",headers:{\"content-type\":\"Application/json\"}});if(t.ok){const p=t.headers.get(\"X-WP-TotalPages\"),c=await t.json();return s({status:\"ok\",data:{posts:c,totalPages:p}},{status:200})}else return s({status:\"ok\",data:{posts:[],totalPages:1}},{status:200})};export{g as POST};\n"],"names":["t","u","s"],"mappings":";;;AAA6G,MAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAACA,GAAC,CAAC,MAAM,KAAK,CAAC,CAAC,EAAEC,CAAC,CAAC,cAAc,CAAC,+BAA+B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAGD,GAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAACA,GAAC,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,MAAMA,GAAC,CAAC,IAAI,EAAE,CAAC,OAAOE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,OAAOA,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;;;;"}