commit 5904f8cb8103d29043c128b930f7af845ebcc91d
parent b3cbc07316cfe3a24e09fdc0b1c146f8b770a662
Author: maydayv7 <maydayv7@gmail.com>
Date: Mon, 8 Jun 2026 21:23:18 +0530
fix(site): Fix curl
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/index.js b/site/index.js
@@ -6,7 +6,7 @@ export default {
const url = new URL(request.url);
if (url.pathname === "/") {
url.pathname = "/curl.txt";
- return env.ASSETS.fetch(url);
+ return env.ASSETS.fetch(new Request(url.toString()));
}
}