Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
helios2003 committed Jul 17, 2024
1 parent 7ac1a2f commit ac36162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/studio-next/src/app/api/crawler/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import parseURL from "@/helpers/parser";
import { DocumentInfo } from "@/types";

export async function GET(request: NextRequest) {
const searchParams = request.nextUrl.searchParams.get('base64');
try {
const searchParams = request.nextUrl.searchParams.get('base64');
if (!searchParams) return new NextResponse(null, { status: 200 });

const info: DocumentInfo | null = await parseURL(searchParams);
Expand Down

0 comments on commit ac36162

Please sign in to comment.