use .env api url

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2026-03-12 11:44:30 +01:00
1 parent 553b61ceca
commit 714242a610
1 file changed
+1 -1
@@ -133,7 +133,7 @@ function Calendar() {
variant={"primary"} variant={"primary"}
onClick={() => { onClick={() => {
window.location.href = window.location.href =
`http://localhost/api/export/ics/${user.id}`; `${import.meta.env.VITE_API_URL}/api/export/ics/${user.id}`;
}} }}
> >
Exporter mon agenda Exporter mon agenda