use .env api url
This commit is contained in:
@@ -133,7 +133,7 @@ function Calendar() {
|
||||
variant={"primary"}
|
||||
onClick={() => {
|
||||
window.location.href =
|
||||
`http://localhost/api/export/ics/${user.id}`;
|
||||
`${import.meta.env.VITE_API_URL}/api/export/ics/${user.id}`;
|
||||
}}
|
||||
>
|
||||
Exporter mon agenda
|
||||
|
||||
Reference in New Issue
Block a user