diff options
| author | Adam Soltys <[email protected]> | 2024-06-24 20:54:08 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-06-24 20:54:08 -0700 |
| commit | ca26df01e51af9fbfa66581b584d4cfd6dc10e8c (patch) | |
| tree | 1053090896c7b3ee6e82a310ae76dca35613e501 /src | |
| parent | 2f00c404d8e1053d2c912ce1d1de7c6690b3ee64 (diff) | |
| download | coinos-ui-ca26df01e51af9fbfa66581b584d4cfd6dc10e8c.tar.gz coinos-ui-ca26df01e51af9fbfa66581b584d4cfd6dc10e8c.zip | |
add protocol to profile page qr
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index e3c36417..3a294844 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -136,7 +136,7 @@ <button class="my-auto" on:click={() => copy(profile)} ><Icon icon="copy" style="max-w-max w-8 min-w-[32px]" /></button > - <a href={`/qr/${encodeURIComponent(profile)}`} class="my-auto"> + <a href={`/qr/${encodeURIComponent(`${$page.url.protocol}://${profile}`)}`} class="my-auto"> <Icon icon="qr" style="invert max-w-max min-w-[32px]" /> </a> </div> |
