diff options
| author | Adam Soltys <[email protected]> | 2024-08-16 14:27:56 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-08-16 14:27:56 -0700 |
| commit | f8cfd7e189c62c6325a126df1dda3b24cb1bbc36 (patch) | |
| tree | 08d12f40589b3675ddb0453d586b83a79ac68691 /index.js | |
| parent | e17a531ce983a3e2fcc233a606b9b3678e22266a (diff) | |
| download | coinos-server-f8cfd7e189c62c6325a126df1dda3b24cb1bbc36.tar.gz coinos-server-f8cfd7e189c62c6325a126df1dda3b24cb1bbc36.zip | |
transfer ecash
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |
