From ebf49c2a35615c3cda4f2cf8a0b1e8774dbae8d6 Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Mon, 23 Nov 2020 12:32:31 +0300 Subject: [PATCH] fix: set withCredentials to false --- templates/app/react-native/src/api/API.js | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/app/react-native/src/api/API.js b/templates/app/react-native/src/api/API.js index 6cf4535b70..dc604f62e9 100644 --- a/templates/app/react-native/src/api/API.js +++ b/templates/app/react-native/src/api/API.js @@ -5,6 +5,7 @@ const { apiUrl } = getEnvVars(); const axiosInstance = axios.create({ baseURL: apiUrl, + withCredentials: false }); export default axiosInstance;