From 66198815e79fbf38075e3b02dfdee31001e62fea Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 11 Sep 2025 16:00:46 -0700 Subject: flash route --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.ts') diff --git a/index.ts b/index.ts index 02a6e0b5..0ca35ec5 100644 --- a/index.ts +++ b/index.ts @@ -141,7 +141,7 @@ app.post( }, users.login, ); -app.post("/printer", users.printer); +app.post("/flash", users.flash); app.get("/challenge", users.challenge); app.post("/nostrAuth", users.nostrAuth); app.get("/app/:pubkey", auth, users.app); @@ -194,7 +194,7 @@ app.post("/echo", (req, res) => { }); const host: string = process.env["HOST"] || "0.0.0.0"; -const port: number = parseInt(process.env["PORT"]) || 3119; +const port: number = Number.parseInt(process.env["PORT"]) || 3119; app.listen({ host, port }); -- cgit v1.2.3