astro/packages/integrations/vercel/test/fixtures/middleware-without-edge-file/src/middleware.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
193 B
JavaScript
Raw Normal View History

/**
* @type {import("astro").MiddlewareResponseHandler}
*/
export const onRequest = async (context, next) => {
const test = 'something';
const response = await next();
return response;
};