feat: init react

This commit is contained in:
tiennm99 committed 2025-06-26 21:43:52 +07:00
1 parent aa3635450c
commit cd1b11ba42
16 files changed
+5293 -286

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
export default {
fetch(request, env) {
const url = new URL(request.url);
if (url.pathname.startsWith("/api/")) {
return Response.json({
name: "Cloudflare",
});
}
return new Response(null, { status: 404 });
},
}