aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-08-16 14:27:56 -0700
committerAdam Soltys <[email protected]>2024-08-16 14:27:56 -0700
commitf8cfd7e189c62c6325a126df1dda3b24cb1bbc36 (patch)
tree08d12f40589b3675ddb0453d586b83a79ac68691 /index.js
parente17a531ce983a3e2fcc233a606b9b3678e22266a (diff)
downloadcoinos-server-f8cfd7e189c62c6325a126df1dda3b24cb1bbc36.tar.gz
coinos-server-f8cfd7e189c62c6325a126df1dda3b24cb1bbc36.zip
transfer ecash
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 3 insertions, 0 deletions
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;