Something's not quite right. I can't seem to get my middleware to run... Here's the code I'm using:
export const config = {
matcher: '/api/:function*',
};
I specified this config so that it would run only when there's a request to the API. The middleware.ts file is located within my app/ directory. Anyone have any insights on why this isn't functioning as expected? I'm using the app routing version without selecting the src/ folder.