aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--routes/lnurl.ts2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index d80c06ae..ec4accfc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ watcher.log
.history/
res
req
+nobal.sh
diff --git a/routes/lnurl.ts b/routes/lnurl.ts
index 1528d64c..367978d1 100644
--- a/routes/lnurl.ts
+++ b/routes/lnurl.ts
@@ -54,7 +54,7 @@ export default {
} = req;
try {
const user = await getUser(
- username.replace("lightning:", "").replace(/\s/, "").toLowerCase(),
+ username.replace("lightning:", "").replace(/\s/, "").replace("=","").toLowerCase(),
);
if (!user) fail(`User ${username} not found`);