diff --git a/src/axios.ts b/src/axios.ts index 5bd2328..6a1ca47 100644 --- a/src/axios.ts +++ b/src/axios.ts @@ -4,7 +4,7 @@ import JSONbig from 'json-big' // Defines the API instance in Axios with special handling for big integers. const axiosInstance = axios.create({ baseURL: import.meta.env.VITE_API_URL, - timeout: 5000, + timeout: 60000, transformResponse: [ function transform(data) { // Replacing the default transformResponse in axios because this uses JSON.parse and causes problems diff --git a/src/views/Results.vue b/src/views/Results.vue index 0cd78d1..2f93e22 100644 --- a/src/views/Results.vue +++ b/src/views/Results.vue @@ -91,6 +91,12 @@ + + diff --git a/src/views/Search.vue b/src/views/Search.vue index c40e6e4..d0711a8 100644 --- a/src/views/Search.vue +++ b/src/views/Search.vue @@ -56,6 +56,19 @@ + + + + + + Search @@ -137,7 +150,8 @@ let initFormData = { units: 'degree', release: store.release, carton: '', - program: '' + program: '', + observed: true } // create dynamic bindings to form fields let formData = ref({ ...initFormData })