diff options
| author | Adam Soltys <[email protected]> | 2025-09-11 16:00:46 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-09-11 16:00:52 -0700 |
| commit | 66198815e79fbf38075e3b02dfdee31001e62fea (patch) | |
| tree | e6f1f9d92625c6ff537f881ee4428f1329aed8c4 /index.ts | |
| parent | 527991a523360bdd72a08acd9a0db2972ae8146b (diff) | |
| download | coinos-server-66198815e79fbf38075e3b02dfdee31001e62fea.tar.gz coinos-server-66198815e79fbf38075e3b02dfdee31001e62fea.zip | |
flash route
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 }); |
