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 | 221396bb8c10f7f9e01224c5897ababe2bc676f7 (patch) | |
| tree | 1053090896c7b3ee6e82a310ae76dca35613e501 /src | |
| parent | ffc5446a71854fdbb585245f6d7c15f4a81386ab (diff) | |
| download | coinos-ui-221396bb8c10f7f9e01224c5897ababe2bc676f7.tar.gz coinos-ui-221396bb8c10f7f9e01224c5897ababe2bc676f7.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> |
