diff --git a/README.md b/README.md index 37b1f7a..78b14f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,19 @@ Original repo : https://git.lab-ouest.org/Epitech/ratrapage_T-WEB -Submodule repo : https://git.lab-ouest.org/Epitech/fork-open-data-tourism/ \ No newline at end of file +Submodule repo : https://git.lab-ouest.org/Epitech/fork-open-data-tourism/ + +# Prod link : + + +JSDocs : https://drink-tweb.docs.cb85.fr/ + +Swagger : https://drink-tweb.cb85.fr/api-docs/ + +PB : https://pb-tweb.cb85.fr/ + + +Datatourisme : +- https://datatour-tweb.cb85.fr/ +- https://datatour-tweb.cb85.fr/graphiql +- https://datatour-tweb.cb85.fr/voyager \ No newline at end of file diff --git a/front/src/pages/maps/index.astro b/front/src/pages/maps/index.astro index 0f7217e..1021cad 100644 --- a/front/src/pages/maps/index.astro +++ b/front/src/pages/maps/index.astro @@ -204,9 +204,9 @@ console.log(fav); .bindPopup(`${prop.name}
note : ${prop.rate}
tags:
${tags}

favori :

`) .on("click", () => { document.querySelectorAll('input[name="like"]').forEach(e => { - e.addEventListener("click", () => { + e.addEventListener("click", async () => { console.log(element) - saveToFav(element, e.checked) + await saveToFav(element, e.checked) document.location.reload() }) })