|
@@ -4,7 +4,6 @@
|
|
|
import type { ImmichUser } from '$lib/models/immich-user';
|
|
|
import { createEventDispatcher, onMount } from 'svelte';
|
|
|
import { fade, fly, slide } from 'svelte/transition';
|
|
|
- import { serverEndpoint } from '../../constants';
|
|
|
import TrayArrowUp from 'svelte-material-icons/TrayArrowUp.svelte';
|
|
|
import { clickOutside } from '../../utils/click-outside';
|
|
|
import { api } from '@api';
|
|
@@ -131,7 +130,7 @@
|
|
|
>
|
|
|
{#if shouldShowProfileImage}
|
|
|
<img
|
|
|
- src={`${serverEndpoint}/user/profile-image/${user.id}`}
|
|
|
+ src={`api/user/profile-image/${user.id}`}
|
|
|
alt="profile-img"
|
|
|
class="inline rounded-full h-20 w-20 object-cover shadow-md"
|
|
|
/>
|