Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 13:15 UTC
chore: Remove debug test routes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sohamganatra committed
Jan 28, 2026 at 00:03 UTC
ec4bdeadc107f8fe6b30003bca7bf4edbb5d5c3c
2 files changed
-42
docs/app/test-imports/route.ts
deleted
-35
@@ -1,35 +0,0 @@
1
-// Test imports one by one to find the failing one
2
-export async function GET() {
3
- const errors: string[] = [];
4
-
5
- try {
6
- const { docs } = await import('fumadocs-mdx:collections/server');
7
- if (!docs) errors.push('docs is undefined');
8
- } catch (e) {
9
- errors.push(`fumadocs-mdx:collections/server: ${e instanceof Error ? e.message : String(e)}`);
10
- }
11
-
12
- try {
13
- const { loader } = await import('fumadocs-core/source');
14
- if (!loader) errors.push('loader is undefined');
15
- } catch (e) {
16
- errors.push(`fumadocs-core/source: ${e instanceof Error ? e.message : String(e)}`);
17
- }
18
-
19
- try {
20
- const { source } = await import('@/lib/source');
21
- if (!source) errors.push('source is undefined');
22
- } catch (e) {
23
- errors.push(`@/lib/source: ${e instanceof Error ? e.message : String(e)}`);
24
- }
25
-
26
- if (errors.length === 0) {
27
- return new Response('# All imports successful!\n\nNo errors found.', {
28
- headers: { 'Content-Type': 'text/markdown' },
29
- });
30
- }
31
-
32
- return new Response(`# Import Errors\n\n${errors.map(e => `- ${e}`).join('\n')}`, {
33
- headers: { 'Content-Type': 'text/markdown' },
34
- });
35
-}
docs/app/test-md/route.ts
deleted
-7
@@ -1,7 +0,0 @@
1
-export async function GET() {
2
- return new Response('# Test\n\nThis is a test route.', {
3
- headers: {
4
- 'Content-Type': 'text/markdown; charset=utf-8',
5
- },
6
- });
7
-}