Fix backend url conf

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2026-01-12 21:50:03 +01:00
1 parent 6723d42a5f
commit 1c10240b8d
19 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
export default async function getXSRFToken() {
const response = await fetch(`http://${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, {
const response = await fetch(`${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, {
method: 'GET',
credentials: 'include'
});