Update matcher

This commit is contained in:
austinkelsay 2024-09-30 19:55:56 -05:00
parent 30076181dc
commit 735ed2b7db

View File

@ -12,7 +12,7 @@ const ratelimit = new Ratelimit({
// Define which routes you want to rate limit // Define which routes you want to rate limit
export const config = { export const config = {
matcher: '/', matcher: '/api/:path*',
}; };
export default async function middleware(request) { export default async function middleware(request) {