aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/recover-secret.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/recover-secret.ts b/scripts/recover-secret.ts
new file mode 100644
index 0000000..813ddaa
--- /dev/null
+++ b/scripts/recover-secret.ts
@@ -0,0 +1,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); \ No newline at end of file