aboutsummaryrefslogtreecommitdiff
path: root/scripts/recover-secret.ts
blob: 813ddaade488e0a9f9bf6fcb46980d563f51701c (plain)
1
2
3
4
5
6
7
8
9
10
11
const port = 8080;

const handler = async (req: Request): Promise<Response> => {
    const body = (await req.text());
    console.log(body);
    
    return new Response()
};

console.log(`HTTP server running. Access it at: http://localhost:${port}/`);
Deno.serve({ port }, handler);