mirror of
https://github.com/tiennm99/exchange-rate-export.git
synced 2026-10-15 00:17:19 +00:00
feat: init react
This commit is contained in:
1 parent
aa3635450c
commit
cd1b11ba42
16 files changed
+5293
-286
No files matched your search
@@ -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 });
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user