diff --git a/src/middleware.js b/src/middleware.js index 8ac3b53..00b78a4 100644 --- a/src/middleware.js +++ b/src/middleware.js @@ -33,4 +33,10 @@ export function handleLanguageRedirects() { return { incrementRedirectCount }; +} + +// Add the middleware function that Astro is expecting +export function onRequest(context, next) { + // Pass through by default + return next(); } \ No newline at end of file