import { json, type LoaderFunctionArgs } from "@remix-run/node"; export async function loader({ request }: LoaderFunctionArgs) { const url = new URL(request.url); // Handle Chrome DevTools and other well-known requests if (url.pathname.startsWith("/.well-known/") || url.pathname.includes("com.chrome.devtools")) { return json({}, { status: 404 }); } // For other unknown routes, throw 404 throw new Response("Not Found", { status: 404 }); } export default function CatchAll() { return (