aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-09-11 22:27:09 -0700
committerAdam Soltys <[email protected]>2023-09-11 22:27:09 -0700
commit943798bc76c1815c5c06eaa45ae698526a90ff77 (patch)
treecef58b3140871ff0fa1e678cabf52d3234a388ef
parent750954760b51f3f1101c9a4be4a2539efd111314 (diff)
downloadcoinos-ui-943798bc76c1815c5c06eaa45ae698526a90ff77.tar.gz
coinos-ui-943798bc76c1815c5c06eaa45ae698526a90ff77.zip
add host to pot link
-rw-r--r--src/routes/(app)/pot/[name]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/pot/[name]/+page.svelte b/src/routes/(app)/pot/[name]/+page.svelte
index 99a0748c..31e439d3 100644
--- a/src/routes/(app)/pot/[name]/+page.svelte
+++ b/src/routes/(app)/pot/[name]/+page.svelte
@@ -85,7 +85,7 @@
</button>
<button
class="rounded-full border py-3 px-2 font-bold hover:opacity-80 flex gap-1 w-full justify-center"
- on:click={() => copy($page.url.pathname)}
+ on:click={() => copy($page.url.host + $page.url.pathname)}
>
<Icon icon="copy" style="w-6" />
{$t('payments.copyLink')}