Aaron from Deno here, happy to answer any questions you may have !
export default async (request: Request, context: Context) => {
return context.rewrite("/something-to-serve-with-a-rewrite");
};
I'm surprised that the function is async but context.rewrite() doesn't use an await. Is that because the rewrite is handed back off to another level of the Netlify stack to process?