xtablo-source/apps/main/worker/index.ts
Arthur Belleville 7a0a5548f9
Lint and format
2025-10-23 21:36:21 +02:00

16 lines
347 B
TypeScript

// @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 });
},
};