This commit is contained in:
Lukian LEIZOUR 2024-06-04 14:28:55 +02:00
parent a2a6d9d11e
commit 4bb31eb679
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ export default function Home() {
async function fetchGames() {
setLoading(true);
try {
const response = await axios.post("http://leizour.fr:3000/api/v1/games/getall", { token: tokenLocal });
const response = await axios.post("https://leizour.fr:3000/api/v1/games/getall", { token: tokenLocal });
setGames(response.data);
} catch (error) {
console.error("Error fetching games:", error);