use .env api url
This commit is contained in:
1 parent
553b61ceca
commit
714242a610
1 file changed
+1
-1
@@ -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