From f8cfd7e189c62c6325a126df1dda3b24cb1bbc36 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 16 Aug 2024 14:27:56 -0700 Subject: transfer ecash --- index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.js') diff --git a/index.js b/index.js index c5190c7d..04a6e228 100644 --- a/index.js +++ b/index.js @@ -9,6 +9,7 @@ import { getRates } from "$lib/rates"; import { sendHeartbeat } from "$lib/sockets"; import { err } from "$lib/logging"; +import ecash from "$routes/ecash"; import email from "$routes/email"; import info from "$routes/info"; import locations from "$routes/locations"; @@ -117,6 +118,8 @@ app.post("/shopify/:id", shopify); app.post("/hidepay", admin, users.hidepay); app.post("/unlimit", admin, users.unlimit); +app.post("/mint", auth, ecash.mint); + let host = process.env.HOST || "0.0.0.0"; let port = process.env.PORT || 3119; -- cgit v1.2.3