Open
Description
Bug report
If I deploy the following function it works on v1.60.1 but crashes on all later versions:
import { say } from "npm:cowsay";
Deno.serve((req) => {
const { pathname } = new URL(req.url);
if (pathname !== "/cowsay") {
return new Response("Not Found", {
status: 404,
});
}
const query = new URL(req.url).searchParams;
const text = query.get("message");
if (!text || typeof text !== "string" || text.length === 0) {
return new Response("Please provide a message", {
status: 400,
});
} else {
return new Response(say({ text }), {
headers: {
"Content-Type": "text/plain",
},
});
}
});
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.