aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-08-19 08:50:07 -0700
committerAdam Soltys <[email protected]>2024-08-19 08:50:07 -0700
commit00f0cda6a4c1ace9eea435e0bcc40a6004d70fdf (patch)
tree86a66ab07f760d13c695a6e8acd0bf8396d07eab /index.js
parent95e543d1060ba7f0cd5b249b4dacceb977e23df8 (diff)
downloadcoinos-server-00f0cda6a4c1ace9eea435e0bcc40a6004d70fdf.tar.gz
coinos-server-00f0cda6a4c1ace9eea435e0bcc40a6004d70fdf.zip
melt endpoint
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index d280ee41..919ee5e5 100644
--- a/index.js
+++ b/index.js
@@ -120,6 +120,7 @@ app.post("/unlimit", admin, users.unlimit);
app.post("/claim", auth, ecash.claim);
app.post("/mint", auth, ecash.mint);
+app.post("/melt", auth, ecash.melt);
let host = process.env.HOST || "0.0.0.0";
let port = process.env.PORT || 3119;