1
2
3
4
5
6
7
const script = `#!/bin/bash
echo "Hello, world!"
`;
export default async function(req: Request): Promise<Response> {
return new Response(script);
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
v5
December 14, 2023