mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 01:02:04 +00:00
Update matcher
This commit is contained in:
parent
30076181dc
commit
735ed2b7db
@ -12,7 +12,7 @@ const ratelimit = new Ratelimit({
|
||||
|
||||
// Define which routes you want to rate limit
|
||||
export const config = {
|
||||
matcher: '/',
|
||||
matcher: '/api/:path*',
|
||||
};
|
||||
|
||||
export default async function middleware(request) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user