fix: wrong link
This commit is contained in:
parent
ad28aa3b28
commit
9a46018399
4 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@
|
||||||
>
|
>
|
||||||
<!-- Image de profil -->
|
<!-- Image de profil -->
|
||||||
<img
|
<img
|
||||||
src={`http://localhost:5173/${user.profilePicture}`}
|
src={`https://arbres.oxyjen.io/${user.profilePicture}`}
|
||||||
alt="Profile Picture"
|
alt="Profile Picture"
|
||||||
class="h-10 w-10 rounded-full border border-gray-300 cursor-pointer"
|
class="h-10 w-10 rounded-full border border-gray-300 cursor-pointer"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<div class="overlay" role="dialog" aria-labelledby="profile-card-title" on:click={onClose}>
|
<div class="overlay" role="dialog" aria-labelledby="profile-card-title" on:click={onClose}>
|
||||||
<div class="profile-card flex flex-col gap-5" on:click|stopPropagation>
|
<div class="profile-card flex flex-col gap-5" on:click|stopPropagation>
|
||||||
<div class="profile-header">
|
<div class="profile-header">
|
||||||
<img src="http://localhost:5173/{user.profilePicture}" alt="Profile" class="profile-image" />
|
<img src="https://arbres.oxyjen.io/{user.profilePicture}" alt="Profile" class="profile-image" />
|
||||||
<h2 id="profile-card-title" class="profile-name">{user.username}</h2>
|
<h2 id="profile-card-title" class="profile-name">{user.username}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="profile-info">
|
<div class="profile-info">
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
>
|
>
|
||||||
<div class="flex items-center gap-4">
|
<div class="flex items-center gap-4">
|
||||||
<img
|
<img
|
||||||
src={`http://localhost:5173/${user.profilePicture}`}
|
src={`https://arbres.oxyjen.io/${user.profilePicture}`}
|
||||||
alt="Profile"
|
alt="Profile"
|
||||||
class="h-12 w-12 rounded-full border border-gray-300"
|
class="h-12 w-12 rounded-full border border-gray-300"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { io } from "socket.io-client";
|
||||||
|
|
||||||
// Initialisation de la socket
|
// Initialisation de la socket
|
||||||
export const initSocket = () => {
|
export const initSocket = () => {
|
||||||
const socketInstance = io("http://localhost:5173");
|
const socketInstance = io("https://arbres.oxyjen.io");
|
||||||
let socketId = null;
|
let socketId = null;
|
||||||
|
|
||||||
return socketInstance
|
return socketInstance
|
||||||
|
|
Loading…
Add table
Reference in a new issue