// @ts-nocheck
// biome-ignore-file: Worker entry point with dynamic imports
/* eslint-disable */

export default {
  fetch(request) {
    const url = new URL(request.url);

    if (url.pathname.startsWith("/api/")) {
      return Response.json({
        name: "Cloudflare",
      });
    }
    return new Response(null, { status: 404 });
  },
};
