diff options
| author | Adam Soltys <[email protected]> | 2023-01-06 04:52:08 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-05 20:51:37 -0800 |
| commit | f45849a39dfc73f84fbae36a0c98771c592e96cd (patch) | |
| tree | 36dcba89e10c2d80c252f9caa1b4b8c7b1e18356 | |
| parent | 4f752f8dfb8a390a48988dc8f66dc9e76e5e1bd6 (diff) | |
| download | coinos-server-f45849a39dfc73f84fbae36a0c98771c592e96cd.tar.gz coinos-server-f45849a39dfc73f84fbae36a0c98771c592e96cd.zip | |
logging
| -rw-r--r-- | lib/nostr.js | 1 | ||||
| -rw-r--r-- | routes/events.js | 1 | ||||
| -rw-r--r-- | routes/users.js | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/lib/nostr.js b/lib/nostr.js index 6c5af6a7..e6174a57 100644 --- a/lib/nostr.js +++ b/lib/nostr.js @@ -11,6 +11,7 @@ app.register(proxy, { upstream: config.nostr, prefix: "/nostr", rewritePrefix: "", + disableRequestLogging: true, }); const relays = [ diff --git a/routes/events.js b/routes/events.js index f09cea23..1734af24 100644 --- a/routes/events.js +++ b/routes/events.js @@ -49,6 +49,5 @@ app.get("/nostr/:pubkey", async (req, res) => { app.post("/nostr/send", async (req, res) => { let { event } = req.body; pool.send(["EVENT", event]); - console.log("SENDING", JSON.stringify(event)) res.send(event); }); diff --git a/routes/users.js b/routes/users.js index ae64997b..fbe28fa3 100644 --- a/routes/users.js +++ b/routes/users.js @@ -185,6 +185,8 @@ app.get("/exists", async (req, res) => { app.post("/user", auth, async (req, res) => { try { let { user } = req; + info("updating user", user.username); + let { address, cipher, |
