diff options
| author | Adam Soltys <[email protected]> | 2023-01-06 21:22:39 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-06 21:22:39 -0800 |
| commit | 8bbcfc3534feceb5fb5756ba29613ab327e7ea5c (patch) | |
| tree | 14e74a44ea33b2b3bce8a7c0c569648d793ce391 /src/components/Avatar.svelte | |
| parent | 59c420d0d8ba3ff9e84128caf803f41e48566ea1 (diff) | |
| download | coinos-ui-8bbcfc3534feceb5fb5756ba29613ab327e7ea5c.tar.gz coinos-ui-8bbcfc3534feceb5fb5756ba29613ab327e7ea5c.zip | |
switch to uuid for images
Diffstat (limited to 'src/components/Avatar.svelte')
| -rw-r--r-- | src/components/Avatar.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte index bb88d243..05b2c63b 100644 --- a/src/components/Avatar.svelte +++ b/src/components/Avatar.svelte @@ -13,7 +13,7 @@ $: src = '/api/public/' + (user?.profile - ? user.username + '-profile.webp' + ? user.uuid + '-profile.webp' : 'punks/' + punk(user?.pubkey || parseInt(Math.random() * 255).toString(16))); </script> |
