api: fix cors for api with new nextjs version (#1633)

This commit is contained in:
Huang Xin
2025-07-20 16:24:28 +08:00
committed by GitHub
parent effa922597
commit 9bdf375304
+1 -1
View File
@@ -45,5 +45,5 @@ export function middleware(request: NextRequest) {
}
export const config = {
matcher: ['/api/stripe/:path*', '/api/metadata/:path*'],
matcher: ['/api/:path*', '/api/stripe/:path*', '/api/metadata/:path*'],
};