This commit is contained in:
2026-06-14 22:16:22 +02:00
parent 402d690e96
commit 6f3dc0c05a
+4 -1
View File
@@ -65,4 +65,7 @@ export const api = {
}),
exportUrl: (path, params) => {
const qs = params ? '?' + new URLSearchParams(params).toString() : '';
const token = localStorage.getItem('cl_token');
return BASE + path + qs + (token ? `${qs ? '&' : '?'}token=${token}` : '');
},
};