diff --git a/app/testlinks/page.tsx b/app/api/testlinks/route.ts similarity index 99% rename from app/testlinks/page.tsx rename to app/api/testlinks/route.ts index 5b35f48..ed6094c 100644 --- a/app/testlinks/page.tsx +++ b/app/api/testlinks/route.ts @@ -262,7 +262,7 @@ export async function GET(request: NextRequest) {
${api.method} - ${api.name.includes('FASE') ? `${api.name.match(/FASE \d+/)[0]}` : ''} + ${api.name.includes('FASE') ? `${api.name.match(/FASE \d+/)?.[0] || 'FASE'}` : ''}

${api.name}

${baseUrl}${api.url} @@ -284,4 +284,4 @@ export async function GET(request: NextRequest) { 'Content-Type': 'text/html; charset=utf-8', }, }) -} +} \ No newline at end of file