async function handleRequest(req, res) { console.log("Handle called"); return { status: 200, headers: { 'content-type': 'text/plain' }, body: 'Hello from Spin Wasm (Corrected Export)!' }; } export const incomingHandler = { handle: handleRequest }; // Keep default just in case, but incomingHandler is key export default handleRequest;