Skip to content

Commit 59a6e9b

Browse files
authored
Merge pull request #482 from Avantika211/staging
fix: middleware target
2 parents ceac475 + 640b708 commit 59a6e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ratelimit = new Ratelimit({
88
});
99

1010
export const config = {
11-
matcher: "/api/ai-upload",
11+
matcher: "/api/upload",
1212
};
1313

1414
export default async function middleware(request: NextRequest) {

0 commit comments

Comments
 (0)