aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/nostr.js1
-rw-r--r--routes/events.js1
-rw-r--r--routes/users.js2
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,