We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a38ff3 commit b279e2fCopy full SHA for b279e2f
src/middleware.ts
@@ -83,10 +83,6 @@ const handleLlmsTxt = (request: NextRequest) => {
83
84
return NextResponse.rewrite(apiUrl);
85
} catch (error) {
86
- // Log error conditionally to avoid console warnings in production
87
- if (process.env.NODE_ENV === 'development') {
88
- console.error('Error handling llms.txt rewrite:', error);
89
- }
90
return new Response('Error processing request', {
91
status: 500,
92
headers: {
0 commit comments