noop-middleware_C9xlyid3.mjs 334 B

12345678910
  1. globalThis.process ??= {}; globalThis.process.env ??= {};
  2. import { ap as NOOP_MIDDLEWARE_HEADER } from './astro/server_WO3f6Mge.mjs';
  3. const NOOP_MIDDLEWARE_FN = async (_ctx, next) => {
  4. const response = await next();
  5. response.headers.set(NOOP_MIDDLEWARE_HEADER, "true");
  6. return response;
  7. };
  8. export { NOOP_MIDDLEWARE_FN as N };