mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-06 18:31:00 +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
|
// 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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user