commit
This commit is contained in:
parent
4bb31eb679
commit
fbf07e772d
4 changed files with 10 additions and 6 deletions
|
@ -31,7 +31,7 @@ export default function Home() {
|
|||
async function fetchGames() {
|
||||
setLoading(true);
|
||||
try {
|
||||
const response = await axios.post("https://leizour.fr:3000/api/v1/games/getall", { token: tokenLocal });
|
||||
const response = await axios.post("https://leizour.fr/api/v1/games/getall", { token: tokenLocal });
|
||||
setGames(response.data);
|
||||
} catch (error) {
|
||||
console.error("Error fetching games:", error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue