export const onRequest = function (event) {
  if (event.requestMeta.url.pathname === '/secret') {
    event.replaceResponse(
      // eslint-disable-next-line no-undef
      new Response('<h1>Access denied</h1>', {
        headers: { 'content-type': 'text/html' },
        status: 404,
      }),
    )
  }
}

@@ -37,16 +37,127 @@
 vent) %7B%0A
+  // eslint-disable-next-line no-console, no-restricted-globals%0A  console.log(event.requestMeta.url.pathname)%0A%0A
   if (ev

Add logs