set to work remotely
This commit is contained in:
parent
a28a7695f2
commit
761f9bc692
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"url": "http://localhost:2374/",
|
||||
"url": "http://0.0.0.0:2374/",
|
||||
"server": {
|
||||
"port": 2374,
|
||||
"host": "127.0.0.1"
|
||||
"host": "0.0.0.0"
|
||||
},
|
||||
"database": {
|
||||
"client": "sqlite3",
|
||||
|
|
Binary file not shown.
2
content/logs/http___0_0_0_0_2374__development.error.log
Normal file
2
content/logs/http___0_0_0_0_2374__development.error.log
Normal file
|
@ -0,0 +1,2 @@
|
|||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":50,"version":"5.94.2","req":{"meta":{"requestId":"82cc1295-f344-4261-a61a-8bb235dd76cd","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-vTvSILbGXc0UOL6QoVVwG6DVreY\""},"statusCode":403,"responseTime":"446ms"},"err":{"id":"780a70b0-7a05-11ef-b373-59b861a035f1","domain":"http://0.0.0.0:2374/","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n at authorizeAdminApi (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/authorize.js:33:25)\n at Layer.handle [as handle_request] (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/layer.js:95:5)\n at next (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/route.js:149:13)\n at authenticate (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/session/middleware.js:28:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-09-23T23:42:17.920Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":50,"version":"5.94.2","req":{"meta":{"requestId":"c9229133-2f41-43b8-822e-6f9773b3c2e9","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-CleagvSogxYi67VRZCgcU/LBQfw\""},"statusCode":403,"responseTime":"3ms"},"err":{"id":"7817de30-7a05-11ef-b373-59b861a035f1","domain":"http://0.0.0.0:2374/","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n at authorizeAdminApi (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/authorize.js:33:25)\n at Layer.handle [as handle_request] (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/layer.js:95:5)\n at next (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/route.js:149:13)\n at authenticate (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/session/middleware.js:28:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-09-23T23:42:18.006Z","v":0}
|
38
content/logs/http___0_0_0_0_2374__development.log
Normal file
38
content/logs/http___0_0_0_0_2374__development.log
Normal file
|
@ -0,0 +1,38 @@
|
|||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Ghost is running in development...","time":"2024-09-23T23:42:13.322Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Listening on: 0.0.0.0:2374","time":"2024-09-23T23:42:13.323Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Url configured as: http://0.0.0.0:2374/","time":"2024-09-23T23:42:13.323Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Ctrl+C to shut down","time":"2024-09-23T23:42:13.324Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Ghost server started in 0.417s","time":"2024-09-23T23:42:13.325Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Database is in a ready state.","time":"2024-09-23T23:42:13.432Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Ghost database ready in 0.527s","time":"2024-09-23T23:42:13.434Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:42:14.710Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Scheduling job mentions-email-report at 20 16 * * * *. Next run on: Mon Sep 23 2024 20:16:20 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:42:14.718Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:42:14.957Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Scheduling job clean-expired-comped at 7 4 0 * * *. Next run on: Tue Sep 24 2024 00:04:07 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:42:14.960Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:42:14.964Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Scheduling job clean-tokens at 58 0 17 * * *. Next run on: Tue Sep 24 2024 17:00:58 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:42:14.966Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Ghost booted in 2.098s","time":"2024-09-23T23:42:15.005Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:42:15.007Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Scheduling job update-check at 45 34 18 * * *. Next run on: Tue Sep 24 2024 18:34:45 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:42:15.011Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Running milestone emails job on Mon Sep 23 2024 19:42:20 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:42:15.018Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","msg":"Ghost URL Service Ready in 2.254s","time":"2024-09-23T23:42:15.162Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"8daa9452-769c-4b75-b10c-ff09aeac3a2a","userId":null},"url":"/","method":"GET","originalUrl":"/ghost/","params":{"0":"/"},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","cookie":"**REDACTED**","upgrade-insecure-requests":"1","priority":"u=0, i"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","etag":"75f366da63cff7c61221ed87a73c1816","x-frame-options":"sameorigin","accept-ranges":"bytes","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","content-type":"text/html; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"87ms"},"msg":"","time":"2024-09-23T23:42:16.823Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"9ab5a320-8ac5-4634-9272-8fd4de5d586c","userId":null},"url":"/vendor-0ede59da8efb5e28fa929557f7ff7154.css","method":"GET","originalUrl":"/ghost/assets/vendor-0ede59da8efb5e28fa929557f7ff7154.css","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"text/css,*/*;q=0.1","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**","priority":"u=2"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"8b45-7438674ba0\"","content-type":"text/css; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"4ms"},"msg":"","time":"2024-09-23T23:42:16.879Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"12684097-17ff-4c3d-b432-44e21e94447e","userId":null},"url":"/ghost-81adcc22c7836b40b08a662812319e01.css","method":"GET","originalUrl":"/ghost/assets/ghost-81adcc22c7836b40b08a662812319e01.css","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"text/css,*/*;q=0.1","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**","priority":"u=2"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"89fb1-7438674ba0\"","content-type":"text/css; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"14ms"},"msg":"","time":"2024-09-23T23:42:16.901Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"f4ef5025-15bb-4f4b-b4f7-d9fdaf307582","userId":null},"url":"/chunk.524.cd82d3016052a43d2b44.js","method":"GET","originalUrl":"/ghost/assets/chunk.524.cd82d3016052a43d2b44.js","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"2e85-7438674ba0\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"1ms"},"msg":"","time":"2024-09-23T23:42:16.923Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"328a2863-8dcc-4cc3-ad2f-5f01bf3719d8","userId":null},"url":"/vendor-b83f61eee071be0ef00075df9ff7782d.js","method":"GET","originalUrl":"/ghost/assets/vendor-b83f61eee071be0ef00075df9ff7782d.js","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"19b6b2-7438674ba0\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"56ms"},"msg":"","time":"2024-09-23T23:42:16.941Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"e1f56e52-fdc8-4a23-b623-c19864ed5d07","userId":null},"url":"/videos/logo-loader-d91f93ba1dbf0f52a22815b5a571bd31.mp4","method":"GET","originalUrl":"/ghost/assets/videos/logo-loader-d91f93ba1dbf0f52a22815b5a571bd31.mp4","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5","accept-language":"en-US,en;q=0.5","range":"bytes=0-","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**","accept-encoding":"identity","priority":"u=4"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"1ff8a-7438674ba0\"","content-type":"video/mp4","content-range":"bytes 0-130953/130954","content-length":130954},"statusCode":206,"responseTime":"3ms"},"msg":"","time":"2024-09-23T23:42:16.955Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"74a64cdd-8851-4949-aa86-3129999b3ced","userId":null},"url":"/chunk.602.a3d38ba0a516decd78ce.js","method":"GET","originalUrl":"/ghost/assets/chunk.602.a3d38ba0a516decd78ce.js","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"3bad7e-7438674ba0\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"115ms"},"msg":"","time":"2024-09-23T23:42:16.999Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"18451d8a-b7c4-4e94-9cc3-7283d18bc0bd","userId":null},"url":"/ghost-27a2284f57455ac2e06f1553344f5ba7.js","method":"GET","originalUrl":"/ghost/assets/ghost-27a2284f57455ac2e06f1553344f5ba7.js","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"22f0ce-7438674ba0\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"100ms"},"msg":"","time":"2024-09-23T23:42:17.028Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"e316810b-ddda-4e1a-bc5d-4f201bd9056f","userId":null},"url":"/fonts/Inter-roman.var-66c6e40883646a7ad993108b2ce2da32.woff2","method":"GET","originalUrl":"/ghost/assets/fonts/Inter-roman.var-66c6e40883646a7ad993108b2ce2da32.woff2","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/font-woff2;q=1.0,application/font-woff;q=0.9,*/*;q=0.8","accept-language":"en-US,en;q=0.5","accept-encoding":"identity","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/assets/ghost-81adcc22c7836b40b08a662812319e01.css","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"3776c-7438674ba0\"","content-type":"font/woff2","content-length":227180},"statusCode":200,"responseTime":"2ms"},"msg":"","time":"2024-09-23T23:42:17.059Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"64714ec2-050e-4b9b-9f3b-dedf5c7b20c2","userId":null},"url":"/img/apple-touch-icon-74680e326a7e87b159d366c7d4fb3d4b.png","method":"GET","originalUrl":"/ghost/assets/img/apple-touch-icon-74680e326a7e87b159d366c7d4fb3d4b.png","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**","priority":"u=6"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"1302-7438674ba0\"","content-type":"image/png","content-length":4866},"statusCode":200,"responseTime":"10ms"},"msg":"","time":"2024-09-23T23:42:17.470Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":50,"version":"5.94.2","req":{"meta":{"requestId":"82cc1295-f344-4261-a61a-8bb235dd76cd","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-vTvSILbGXc0UOL6QoVVwG6DVreY\""},"statusCode":403,"responseTime":"446ms"},"err":{"id":"780a70b0-7a05-11ef-b373-59b861a035f1","domain":"http://0.0.0.0:2374/","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n at authorizeAdminApi (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/authorize.js:33:25)\n at Layer.handle [as handle_request] (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/layer.js:95:5)\n at next (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/route.js:149:13)\n at authenticate (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/session/middleware.js:28:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-09-23T23:42:17.920Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"31536629-5932-4cfa-ab8e-fe9dfe217b8c","userId":null},"url":"/img/favicon-a9c6dbdcdc3ae568f4e0dad92149a0e3.ico","method":"GET","originalUrl":"/ghost/assets/img/favicon-a9c6dbdcdc3ae568f4e0dad92149a0e3.ico","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**","priority":"u=6"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"3c2e-7438674ba0\"","content-type":"image/x-icon","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"462ms"},"msg":"","time":"2024-09-23T23:42:17.923Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"aeadd923-59d8-43f3-8590-5c4d0d2e864e","userId":null},"url":"/site/","method":"GET","originalUrl":"/ghost/api/admin/site/","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"285","etag":"W/\"11d-nStWW8vOobV5VIAkz0D3hNzFaEA\""},"statusCode":200,"responseTime":"4ms"},"msg":"","time":"2024-09-23T23:42:17.965Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":50,"version":"5.94.2","req":{"meta":{"requestId":"c9229133-2f41-43b8-822e-6f9773b3c2e9","userId":null},"url":"/users/me/?include=roles","method":"GET","originalUrl":"/ghost/api/admin/users/me/?include=roles","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{"include":"roles"}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"343","etag":"W/\"157-CleagvSogxYi67VRZCgcU/LBQfw\""},"statusCode":403,"responseTime":"3ms"},"err":{"id":"7817de30-7a05-11ef-b373-59b861a035f1","domain":"http://0.0.0.0:2374/","code":null,"name":"NoPermissionError","statusCode":403,"level":"normal","message":"Authorization failed","context":"\"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.\"","stack":"NoPermissionError: Authorization failed\n at authorizeAdminApi (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/authorize.js:33:25)\n at Layer.handle [as handle_request] (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/layer.js:95:5)\n at next (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/node_modules/express/lib/router/route.js:149:13)\n at authenticate (/home/neurobomber/CodeProjects/local-rittenhop/versions/5.94.2/core/server/services/auth/session/middleware.js:28:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","hideStack":false},"msg":"Authorization failed","time":"2024-09-23T23:42:18.006Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"cc2f6f3e-90fe-4ce9-8c1d-229a6f25a0be","userId":null},"url":"/site/","method":"GET","originalUrl":"/ghost/api/admin/site/","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"285","etag":"W/\"11d-nStWW8vOobV5VIAkz0D3hNzFaEA\""},"statusCode":200,"responseTime":"1ms"},"msg":"","time":"2024-09-23T23:42:18.034Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"16d3cbcd-050c-46f7-89e0-08a483555ee8","userId":null},"url":"/authentication/setup/","method":"GET","originalUrl":"/ghost/api/admin/authentication/setup/","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"28","etag":"W/\"1c-sQKS0vX9z/0iYRVKKjytkkIupoI\""},"statusCode":200,"responseTime":"6ms"},"msg":"","time":"2024-09-23T23:42:18.066Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"21eac350-26fd-4a65-8313-3d66ffa22133","userId":null},"url":"/authentication/setup/","method":"GET","originalUrl":"/ghost/api/admin/authentication/setup/","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"application/json, text/javascript, */*; q=0.01","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","content-type":"application/json; charset=UTF-8","x-ghost-version":"5.94","app-pragma":"no-cache","x-requested-with":"XMLHttpRequest","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","content-version":"v5.94","vary":"Accept-Version, Accept-Encoding","cache-control":"no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0","content-type":"application/json; charset=utf-8","content-length":"28","etag":"W/\"1c-sQKS0vX9z/0iYRVKKjytkkIupoI\""},"statusCode":200,"responseTime":"4ms"},"msg":"","time":"2024-09-23T23:42:18.088Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"78c0eb10-03fa-4d52-a2f1-7df7e174409a","userId":null},"url":"/img/logos/orb-black-1-32b72766be2164fdea6ab2565fb1c137.png","method":"GET","originalUrl":"/ghost/assets/img/logos/orb-black-1-32b72766be2164fdea6ab2565fb1c137.png","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/","cookie":"**REDACTED**","priority":"u=4, i"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"ca4a-7438674ba0\"","content-type":"image/png","content-length":51786},"statusCode":200,"responseTime":"4ms"},"msg":"","time":"2024-09-23T23:42:18.165Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"3d26f452-7c68-454e-b217-5b358456d23f","userId":null},"url":"/admin-x-settings/admin-x-settings.js?v=da80d9972a","method":"GET","originalUrl":"/ghost/assets/admin-x-settings/admin-x-settings.js?v=da80d9972a","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/assets/ghost-27a2284f57455ac2e06f1553344f5ba7.js","cookie":"**REDACTED**"},"query":{"v":"da80d9972a"}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"1b1b7-7438674ba0\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"10ms"},"msg":"","time":"2024-09-23T23:42:19.016Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2091016,"level":30,"version":"5.94.2","req":{"meta":{"requestId":"5aa2f6fe-04cc-4064-9255-4627ed9185db","userId":null},"url":"/admin-x-settings/index-5fba7766.mjs","method":"GET","originalUrl":"/ghost/assets/admin-x-settings/index-5fba7766.mjs","params":{},"headers":{"host":"neuroserv:2374","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","connection":"keep-alive","referer":"http://neuroserv:2374/ghost/assets/admin-x-settings/admin-x-settings.js?v=da80d9972a","cookie":"**REDACTED**"},"query":{}},"res":{"_headers":{"x-powered-by":"Express","accept-ranges":"bytes","cache-control":"public, max-age=0, immutable","last-modified":"Sat, 26 Oct 1985 08:15:00 GMT","etag":"W/\"1360e5-7438674ba0\"","content-type":"application/javascript; charset=UTF-8","vary":"Accept-Encoding","content-encoding":"gzip"},"statusCode":200,"responseTime":"105ms"},"msg":"","time":"2024-09-23T23:42:19.146Z","v":0}
|
|
@ -101,3 +101,27 @@
|
|||
{"name":"Log","hostname":"neuroserv","pid":2079091,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:38:24.518Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2079091,"level":30,"version":"5.94.2","msg":"Scheduling job update-check at 45 1 5 * * *. Next run on: Tue Sep 24 2024 05:01:45 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:38:24.529Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2079091,"level":30,"version":"5.94.2","msg":"Running milestone emails job on Mon Sep 23 2024 19:38:29 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:38:24.554Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2079091,"level":40,"version":"5.94.2","msg":"Ghost is shutting down","time":"2024-09-23T23:41:23.696Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2079091,"level":40,"version":"5.94.2","msg":"Ghost has shut down","time":"2024-09-23T23:41:23.698Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2079091,"level":40,"version":"5.94.2","msg":"Ghost was running for 3 minutes","time":"2024-09-23T23:41:23.699Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Ghost is running in development...","time":"2024-09-23T23:41:28.259Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Listening on: 127.0.0.1:2374","time":"2024-09-23T23:41:28.260Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Url configured as: http://localhost:2374/","time":"2024-09-23T23:41:28.261Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Ctrl+C to shut down","time":"2024-09-23T23:41:28.261Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Ghost server started in 0.41s","time":"2024-09-23T23:41:28.262Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Database is in a ready state.","time":"2024-09-23T23:41:28.368Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Ghost database ready in 0.518s","time":"2024-09-23T23:41:28.370Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:41:29.618Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Scheduling job mentions-email-report at 26 3 * * * *. Next run on: Mon Sep 23 2024 20:03:26 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:41:29.626Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:41:29.862Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Scheduling job clean-expired-comped at 16 15 1 * * *. Next run on: Tue Sep 24 2024 01:15:16 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:41:29.865Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:41:29.869Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Scheduling job clean-tokens at 57 23 14 * * *. Next run on: Tue Sep 24 2024 14:23:57 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:41:29.871Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Ghost booted in 2.059s","time":"2024-09-23T23:41:29.911Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Adding offloaded job to the queue","time":"2024-09-23T23:41:29.913Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Scheduling job update-check at 11 23 13 * * *. Next run on: Tue Sep 24 2024 13:23:11 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:41:29.915Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Running milestone emails job on Mon Sep 23 2024 19:41:34 GMT-0400 (Eastern Daylight Time)","time":"2024-09-23T23:41:29.921Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":30,"version":"5.94.2","msg":"Ghost URL Service Ready in 2.302s","time":"2024-09-23T23:41:30.155Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":40,"version":"5.94.2","msg":"Ghost is shutting down","time":"2024-09-23T23:42:12.248Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":40,"version":"5.94.2","msg":"Ghost has shut down","time":"2024-09-23T23:42:12.250Z","v":0}
|
||||
{"name":"Log","hostname":"neuroserv","pid":2088876,"level":40,"version":"5.94.2","msg":"Ghost was running for a few seconds","time":"2024-09-23T23:42:12.251Z","v":0}
|
||||
|
|
2
content/public/admin-auth/admin-auth.min.js
vendored
2
content/public/admin-auth/admin-auth.min.js
vendored
|
@ -1 +1 @@
|
|||
const adminUrl=window.location.href.replace("auth-frame/","")+"api/admin",siteOrigin="http://localhost:2374";window.addEventListener("message",(async function(t){if(t.origin!==siteOrigin)return void console.warn("Ignored message to admin auth iframe because of mismatch in origin","expected",siteOrigin,"got",t.origin,"with data",t.data);let i=null;try{i=JSON.parse(t.data)}catch(t){console.error(t)}function n(n,e){t.source.postMessage(JSON.stringify({uid:i.uid,error:n,result:e}),siteOrigin)}if("getUser"===i.action)try{const t=await fetch(adminUrl+"/users/me/");n(null,await t.json())}catch(t){n(t,null)}if("hideComment"===i.action)try{const t=await fetch(adminUrl+"/comments/"+i.id+"/",{method:"PUT",body:JSON.stringify({comments:[{id:i.id,status:"hidden"}]}),headers:{"Content-Type":"application/json"}});n(null,await t.json())}catch(t){n(t,null)}if("showComment"===i.action)try{const t=await fetch(adminUrl+"/comments/"+i.id+"/",{method:"PUT",body:JSON.stringify({comments:[{id:i.id,status:"published"}]}),headers:{"Content-Type":"application/json"}});n(null,await t.json())}catch(t){n(t,null)}}));
|
||||
const adminUrl=window.location.href.replace("auth-frame/","")+"api/admin",siteOrigin="http://0.0.0.0:2374";window.addEventListener("message",(async function(t){if(t.origin!==siteOrigin)return void console.warn("Ignored message to admin auth iframe because of mismatch in origin","expected",siteOrigin,"got",t.origin,"with data",t.data);let i=null;try{i=JSON.parse(t.data)}catch(t){console.error(t)}function n(n,e){t.source.postMessage(JSON.stringify({uid:i.uid,error:n,result:e}),siteOrigin)}if("getUser"===i.action)try{const t=await fetch(adminUrl+"/users/me/");n(null,await t.json())}catch(t){n(t,null)}if("hideComment"===i.action)try{const t=await fetch(adminUrl+"/comments/"+i.id+"/",{method:"PUT",body:JSON.stringify({comments:[{id:i.id,status:"hidden"}]}),headers:{"Content-Type":"application/json"}});n(null,await t.json())}catch(t){n(t,null)}if("showComment"===i.action)try{const t=await fetch(adminUrl+"/comments/"+i.id+"/",{method:"PUT",body:JSON.stringify({comments:[{id:i.id,status:"published"}]}),headers:{"Content-Type":"application/json"}});n(null,await t.json())}catch(t){n(t,null)}}));
|
Loading…
Reference in New Issue
Block a user