diff --git a/src/axios.ts b/src/axios.ts index 5bd2328..14fdca2 100644 --- a/src/axios.ts +++ b/src/axios.ts @@ -5,6 +5,7 @@ import JSONbig from 'json-big' const axiosInstance = axios.create({ baseURL: import.meta.env.VITE_API_URL, timeout: 5000, + withCredentials: true, transformResponse: [ function transform(data) { // Replacing the default transformResponse in axios because this uses JSON.parse and causes problems diff --git a/src/components/ConeSearch.vue b/src/components/ConeSearch.vue index 5a86450..4f143dd 100644 --- a/src/components/ConeSearch.vue +++ b/src/components/ConeSearch.vue @@ -26,10 +26,10 @@ \ No newline at end of file +