aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-09 15:49:10 -0800
committerAdam Soltys <[email protected]>2022-11-09 15:49:10 -0800
commitae073d527d379673637501afcd2a9d74cd5ad888 (patch)
tree250988238b03c6da6d1b2c9e2517d491f6c97c34 /src/routes/(app)/send
parentb5e5d2668e028621b23dcb0e775f9f8b42934414 (diff)
downloadcoinos-ui-ae073d527d379673637501afcd2a9d74cd5ad888.tar.gz
coinos-ui-ae073d527d379673637501afcd2a9d74cd5ad888.zip
rename lnurl route
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/[...text]/+page.server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.server.js b/src/routes/(app)/send/[...text]/+page.server.js
index 77eea61f..761f27dc 100644
--- a/src/routes/(app)/send/[...text]/+page.server.js
+++ b/src/routes/(app)/send/[...text]/+page.server.js
@@ -25,7 +25,7 @@ let parse = async (t, r) => {
}
}
- if (t.toLowerCase().startsWith('lnurl')) throw redirect(307, `/lnurl/${t}`);
+ if (t.toLowerCase().startsWith('lnurl')) throw redirect(307, `/ln/${t}`);
if (t.includes(':')) t = t.split(':')[1];
// lightning