fix: wrong link

This commit is contained in:
Nabil Ould Hamou 2024-12-18 09:55:25 +01:00 committed by GitHub
parent ad28aa3b28
commit 9a46018399
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -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"
/> />

View file

@ -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">

View file

@ -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"
/> />

View file

@ -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