diff options
| author | Adam Soltys <[email protected]> | 2022-11-09 15:49:10 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-09 15:49:10 -0800 |
| commit | 6e7a39a81455f633a0c1479524e4fdb06a722914 (patch) | |
| tree | 250988238b03c6da6d1b2c9e2517d491f6c97c34 /src/routes/(app)/send | |
| parent | 311e57403504461bfd139e87c2c6f3444f543a4d (diff) | |
| download | coinos-ui-6e7a39a81455f633a0c1479524e4fdb06a722914.tar.gz coinos-ui-6e7a39a81455f633a0c1479524e4fdb06a722914.zip | |
rename lnurl route
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/[...text]/+page.server.js | 2 |
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 |
