fix(security): enforce withCredentials true on storefront api for httpOnly cookies [FE-005]
This commit is contained in:
1 parent
aacb91ac70
commit
15524609fe
1 file changed
+1
@@ -26,6 +26,7 @@ export interface ApiErrorPayload {
|
||||
const api = axios.create({
|
||||
baseURL,
|
||||
timeout: 10000,
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user